Skip to content

Commit

Permalink
Update dotnet pack command line
Browse files Browse the repository at this point in the history
  • Loading branch information
EEParker authored Apr 3, 2024
1 parent 795ec9f commit 405dcfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ foreach ($src in Get-ChildItem src/*) {

if ($prefix) {
# release build
& dotnet pack -c Release -o ../../artifacts --version-prefix=$prefix
& dotnet pack -c Release -o ../../artifacts /p:VersionPrefix="$prefix"
} elseif ($suffix) {
# prerelease build
& dotnet pack -c Release -o ../../artifacts --version-suffix=$suffix
& dotnet pack -c Release -o ../../artifacts /p:VersionSuffix="$suffix"
} else {
# local build
& dotnet pack -c Release -o ../../artifacts
Expand Down

0 comments on commit 405dcfc

Please sign in to comment.