mirror of https://github.com/snes9xgit/snes9x.git
Merge pull request #632 from gocha/appveyor-fix-tagerror
[appveyor] Fix "git: No tags can describe xxx" error caused in forked repositories
This commit is contained in:
commit
14dcee9c62
|
@ -43,8 +43,7 @@ build_script:
|
|||
- if "%config%"=="libretro Release" msbuild libretro\libretro-win32.vcxproj /t:build /p:Configuration="%config%";Platform="%platform%" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||
|
||||
after_build:
|
||||
- ps: $env:gitrev = git describe --tags
|
||||
- ps: $env:my_version = "$env:gitrev"
|
||||
- ps: $env:my_version = "$env:APPVEYOR_BUILD_VERSION-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
|
||||
- set package_name=snes9x-%my_version%-%arch%
|
||||
- if exist artifacts rmdir /s /q artifacts
|
||||
- mkdir artifacts
|
||||
|
|
Loading…
Reference in New Issue