mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Travis/AppVeyor: Deploy based upon tags
This commit is contained in:
parent
035716d57b
commit
8bda0ca68d
3 changed files with 107 additions and 117 deletions
|
@ -1,4 +1,3 @@
|
||||||
if [ "$TRAVIS_EVENT_TYPE" = "push" ]&&[ "$TRAVIS_BRANCH" = "master" ]; then
|
|
||||||
GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
|
GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
|
||||||
GITREV="`git show -s --format='%h'`"
|
GITREV="`git show -s --format='%h'`"
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
|
@ -131,4 +130,3 @@ EOL
|
||||||
# move the compiled archive into the artifacts directory to be uploaded by travis releases
|
# move the compiled archive into the artifacts directory to be uploaded by travis releases
|
||||||
mv "$ARCHIVE_NAME" artifacts/
|
mv "$ARCHIVE_NAME" artifacts/
|
||||||
mv "$REV_NAME.7z" artifacts/
|
mv "$REV_NAME.7z" artifacts/
|
||||||
fi
|
|
||||||
|
|
|
@ -37,4 +37,4 @@ deploy:
|
||||||
file: "artifacts/*"
|
file: "artifacts/*"
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
repo: citra-emu/citra-nightly
|
tags: true
|
||||||
|
|
12
appveyor.yml
12
appveyor.yml
|
@ -1,9 +1,6 @@
|
||||||
# shallow clone
|
# shallow clone
|
||||||
clone_depth: 10
|
clone_depth: 10
|
||||||
|
|
||||||
# don't build on tag
|
|
||||||
skip_tags: true
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- C:\ProgramData\chocolatey\bin -> appveyor.yml
|
- C:\ProgramData\chocolatey\bin -> appveyor.yml
|
||||||
- C:\ProgramData\chocolatey\lib -> appveyor.yml
|
- C:\ProgramData\chocolatey\lib -> appveyor.yml
|
||||||
|
@ -72,16 +69,11 @@ artifacts:
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: GitHub
|
provider: GitHub
|
||||||
release: nightly-$(appveyor_build_number)
|
release: $(appveyor_repo_tag_name)
|
||||||
description: |
|
|
||||||
Citra nightly releases. Please choose the correct download for your operating system from the list below.
|
|
||||||
|
|
||||||
Short Commit Hash $(GITREV)
|
|
||||||
auth_token:
|
auth_token:
|
||||||
secure: "dbpsMC/MgPKWFNJCXpQl4cR8FYhepkPLjgNp/pRMktZ8oLKTqPYErfreaIxb/4P1"
|
secure: "dbpsMC/MgPKWFNJCXpQl4cR8FYhepkPLjgNp/pRMktZ8oLKTqPYErfreaIxb/4P1"
|
||||||
artifact: msvcupdate,msvcbuild
|
artifact: msvcupdate,msvcbuild
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
on:
|
on:
|
||||||
branch: master
|
appveyor_repo_tag: true
|
||||||
appveyor_repo_name: citra-emu/citra-nightly
|
|
||||||
|
|
Loading…
Reference in a new issue