Merge pull request #1661 from oddMLan/update-appveyor-yml
Update appveyor.yml
This commit is contained in:
commit
f3012ce4e7
19
appveyor.yml
19
appveyor.yml
|
@ -1,8 +1,5 @@
|
||||||
|
version: 1.0.{build}
|
||||||
image: Visual Studio 2015
|
image: Visual Studio 2015
|
||||||
build:
|
|
||||||
project: Project64.sln
|
|
||||||
parallel: true
|
|
||||||
verbosity: minimal
|
|
||||||
platform:
|
platform:
|
||||||
- Win32
|
- Win32
|
||||||
- x64
|
- x64
|
||||||
|
@ -10,9 +7,17 @@ configuration:
|
||||||
- Release
|
- Release
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- for /f "tokens=1 delims=" %%a in ('git describe --tags --long --dirty') do set current_tag=%%a
|
- ps: >-
|
||||||
- appveyor UpdateBuild -Version %current_tag%
|
If ($env:APPVEYOR_BUILD_VERSION -Like "1.0*") {
|
||||||
|
echo $env:APPVEYOR_BUILD_VERSION
|
||||||
|
$current_tag = git describe --tags --long --dirty
|
||||||
|
echo $current_tag
|
||||||
|
appveyor UpdateBuild -Version $current_tag
|
||||||
|
}
|
||||||
|
build:
|
||||||
|
project: Project64.sln
|
||||||
|
parallel: true
|
||||||
|
verbosity: minimal
|
||||||
after_build:
|
after_build:
|
||||||
- Source/Script/package_zip.cmd %current_tag%-%platform%.zip %platform%
|
- Source/Script/package_zip.cmd %current_tag%-%platform%.zip %platform%
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue