Skip to content

Commit

Permalink
Update version naming in NuGet pack command
Browse files Browse the repository at this point in the history
This commit changes how the version suffix is handled in the NuGet packing command of the Github workflow. The 'VersionSuffix' package property was replaced with a direct string concatenation to the 'Version' property achieving the same effect but providing an easier overview of the resulting package version.
  • Loading branch information
frankhaugen committed Jul 18, 2024
1 parent c13c53a commit 421f993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: dotnet test --no-build --configuration Release --logger trx --results-directory TestResults

- name: Pack NuGet Packages
run: dotnet pack --no-build --configuration Release --output nupkgs /p:Version=${{ steps.get_release.outputs.tag_name }} /p:VersionSuffix=preview
run: dotnet pack --no-build --configuration Release --output nupkgs /p:Version=${{ steps.get_release.outputs.tag_name }}-preview

- name: Push NuGet Packages
run: dotnet nuget push nupkgs/*.nupkg -k ${{ secrets.nugetkey }} -s https://api.nuget.org/v3/index.json --skip-duplicate
Expand Down

0 comments on commit 421f993

Please sign in to comment.