mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-31 20:41:45 +01:00
update av build version as late as possible to prevent webhook breakage
This commit is contained in:
parent
f290555e68
commit
6b95d52ba3
12
appveyor.yml
12
appveyor.yml
@ -15,14 +15,12 @@ cache:
|
||||
- compat_database.dat
|
||||
|
||||
install:
|
||||
- ps: | # set version env vars, update appveyor build version accordingly
|
||||
- ps: | # set env vars for versioning
|
||||
$commDate = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP.Substring(0,10)
|
||||
$commSha = $env:APPVEYOR_REPO_COMMIT.Substring(0,8)
|
||||
$commTag = $(git describe --tags $(git rev-list --tags --max-count=1))
|
||||
|
||||
$av = "{0}-{1}" -f $commTag.TrimStart("v"), $env:APPVEYOR_BUILD_NUMBER
|
||||
Update-AppveyorBuild -Version $av
|
||||
|
||||
$env:AVVER = "{0}-{1}" -f $commTag.TrimStart("v"), $env:APPVEYOR_BUILD_NUMBER
|
||||
$env:BUILD = "rpcs3-{0}-{1}-{2}_win64.7z" -f $commTag, $commDate, $commSha
|
||||
|
||||
- ps: | # used for experimental build warnings for pr builds
|
||||
@ -87,4 +85,8 @@ artifacts:
|
||||
- path: $(BUILD)
|
||||
name: rpcs3
|
||||
- path: openssl_win64.7z
|
||||
name: openssl
|
||||
name: openssl
|
||||
|
||||
on_finish:
|
||||
- ps: | # update appveyor build version, done last to prevent webhook breakage
|
||||
update-appveyorbuild -version $env:AVVER
|
||||
|
Loading…
x
Reference in New Issue
Block a user