diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1bb0e50..00d00be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,7 +90,13 @@ jobs: - name: Set Version id: set_version - run: echo "VERSION=$([[ ${{ env.IS_TAG }} == 'true' ]] && echo '${{ github.ref }}' || echo '${{ steps.get-version.outputs.version }}')" >> $GITHUB_ENV + run: | + if ($env:IS_TAG -eq "true") { + echo "VERSION=$env:GITHUB_REF" >> $env:GITHUB_ENV + } else { + echo "VERSION=${{ steps.get-version.outputs.version }}" >> $env:GITHUB_ENV + } + shell: pwsh - name: Create Release id: create_release diff --git a/FASTER Maintenance/FASTER Maintenance.csproj b/FASTER Maintenance/FASTER Maintenance.csproj index 5bd1158..bf535bb 100644 --- a/FASTER Maintenance/FASTER Maintenance.csproj +++ b/FASTER Maintenance/FASTER Maintenance.csproj @@ -12,7 +12,6 @@ 512 true false - ..\.sonarlint\foxlider_fastercsharp.ruleset AnyCPU @@ -24,7 +23,6 @@ prompt 4 8 - ..\.sonarlint\foxlider_fastercsharp.ruleset AnyCPU @@ -35,7 +33,6 @@ prompt 4 8 - ..\.sonarlint\foxlider_fastercsharp.ruleset Properties\app.manifest @@ -65,16 +62,8 @@ - - foxlider_fastercsharp.ruleset - - - - SonarLint.xml - - \ No newline at end of file diff --git a/FASTER/FASTER - Backup.csproj b/FASTER/FASTER - Backup.csproj index ce7aa46..6dd452e 100644 --- a/FASTER/FASTER - Backup.csproj +++ b/FASTER/FASTER - Backup.csproj @@ -21,7 +21,6 @@ true FASTERKey.snk false - ..\.sonarlint\foxlider_fastercsharp.ruleset false diff --git a/FASTER/FASTER.csproj b/FASTER/FASTER.csproj index c9fa17a..6756567 100644 --- a/FASTER/FASTER.csproj +++ b/FASTER/FASTER.csproj @@ -23,7 +23,6 @@ true FASTERKey.snk false - ..\.sonarlint\foxlider_fastercsharp.ruleset false @@ -49,9 +48,6 @@ - - -