Skip to content

Commit

Permalink
Merge pull request #203 from Foxlider/feature/ReleaseGenerator
Browse files Browse the repository at this point in the history
Using `pwsh` for pipeline scripts
  • Loading branch information
Foxlider authored Oct 5, 2024
2 parents 86db682 + 6fed512 commit 841881d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 17 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 0 additions & 11 deletions FASTER Maintenance/FASTER Maintenance.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>false</Deterministic>
<CodeAnalysisRuleSet>..\.sonarlint\foxlider_fastercsharp.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -24,7 +23,6 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>8</LangVersion>
<CodeAnalysisRuleSet>..\.sonarlint\foxlider_fastercsharp.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -35,7 +33,6 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>8</LangVersion>
<CodeAnalysisRuleSet>..\.sonarlint\foxlider_fastercsharp.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
Expand Down Expand Up @@ -65,16 +62,8 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\.sonarlint\foxlider_fastercsharp.ruleset">
<Link>foxlider_fastercsharp.ruleset</Link>
</None>
<None Include="App.config" />
<None Include="Properties\app.manifest" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="..\.sonarlint\foxlider_faster\CSharp\SonarLint.xml">
<Link>SonarLint.xml</Link>
</AdditionalFiles>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
1 change: 0 additions & 1 deletion FASTER/FASTER - Backup.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>FASTERKey.snk</AssemblyOriginatorKeyFile>
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
<CodeAnalysisRuleSet>..\.sonarlint\foxlider_fastercsharp.ruleset</CodeAnalysisRuleSet>
<EnableNETAnalyzers>false</EnableNETAnalyzers>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand Down
4 changes: 0 additions & 4 deletions FASTER/FASTER.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>FASTERKey.snk</AssemblyOriginatorKeyFile>
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
<CodeAnalysisRuleSet>..\.sonarlint\foxlider_fastercsharp.ruleset</CodeAnalysisRuleSet>
<EnableNETAnalyzers>false</EnableNETAnalyzers>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand All @@ -49,9 +48,6 @@
<None Remove="Resources\FASTER.ico" />
<None Remove="Resources\FasterSplash.png" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="..\.sonarlint\foxlider_faster\CSharp\SonarLint.xml" Link="SonarLint.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Autoupdater.NET.Official" Version="1.8.2" />
<PackageReference Include="BytexDigital.Steam" Version="0.8.2-preview.1688347297" />
Expand Down

0 comments on commit 841881d

Please sign in to comment.