Skip to content

Commit

Permalink
use APPVEYOR_REPO_TAG_NAME to fetch the Git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
prime31 authored Sep 26, 2018
1 parent 516baac commit 1edeb59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ before_build:
# Build NuGet packages
after_build:
- cmd: >-
if %APPVEYOR_REPO_TAG% neq false (set NUGET_FLAGS=%NUGET_FLAGS% -Version %APPVEYOR_REPO_TAG%) else (set NUGET_FLAGS=%NUGET_FLAGS% -Version %APPVEYOR_BUILD_VERSION%)
if %APPVEYOR_REPO_TAG% neq false (set NUGET_FLAGS=%NUGET_FLAGS% -Version %APPVEYOR_REPO_TAG_NAME%) else (set NUGET_FLAGS=%NUGET_FLAGS% -Version %APPVEYOR_BUILD_VERSION%)
nuget pack %NUGET_FLAGS% ./Nez.Portable/Nez.nuspec
Expand Down

0 comments on commit 1edeb59

Please sign in to comment.