Skip to content

Commit

Permalink
Fix specifying dotnet pack version using tag
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreeve committed Oct 22, 2017
1 parent 926ecc2 commit e9f723d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.ps1
Expand Up @@ -6,7 +6,7 @@ param (
& dotnet restore .\src\SemVer\SemVer.csproj #2>1

if ($TagVersionNumber) {
& dotnet pack .\src\SemVer\SemVer.csproj -c Release /p:VersionPrefix="$BuildVersionNumber" /p:VersionSuffix="$TagVersionNumber" 2>&1
& dotnet pack .\src\SemVer\SemVer.csproj -c Release /p:VersionPrefix="$TagVersionNumber" 2>&1
} else {
& dotnet pack .\src\SemVer\SemVer.csproj -c Release /p:VersionPrefix="$BuildVersionNumber" 2>&1
}

0 comments on commit e9f723d

Please sign in to comment.