mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 08:42:45 +01:00
Trying to make a consistent nightly versioning
This commit is contained in:
parent
b03e7bf28f
commit
4a6cf7ecaf
2 changed files with 4 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
"public_stats": false
|
||||
},
|
||||
"version": {
|
||||
"name": "nightly",
|
||||
"name": "nightly-@GIT_REV@",
|
||||
"released": "@BUILD_DATE@",
|
||||
"gpgSign": false
|
||||
},
|
||||
|
|
|
@ -36,10 +36,12 @@ after_build:
|
|||
# Where are these spaces coming from? Regardless, let's remove them
|
||||
$MSVC_BUILD_NAME = "citra-windows-msvc-$GITDATE-$GITREV.zip" -replace " ", ""
|
||||
$MSVC_BUILD_PDB = "citra-windows-msvc-$GITDATE-$GITREV-debugsymbols.zip" -replace " ", ""
|
||||
$BINTRAY_VERSION = "nightly-$GITREV" -replace " ", ""
|
||||
|
||||
# set the build names as env vars so the artifacts can upload them
|
||||
$env:MSVC_BUILD_NAME = $MSVC_BUILD_NAME
|
||||
$env:MSVC_BUILD_PDB = $MSVC_BUILD_PDB
|
||||
$env:BINTRAY_VERSION = $BINTRAY_VERSION
|
||||
|
||||
7z a -tzip $MSVC_BUILD_PDB .\build\bin\release\*.pdb
|
||||
rm .\build\bin\release\*.pdb
|
||||
|
@ -64,7 +66,7 @@ deploy:
|
|||
subject: citra-emu
|
||||
repo: citra
|
||||
package: nightly
|
||||
version: nightly
|
||||
version: $(BINTRAY_VERSION)
|
||||
publish: true
|
||||
on:
|
||||
branch: master
|
||||
|
|
Loading…
Reference in a new issue