1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(deploy): upload AppImage to Github releases on each tag

This commit is contained in:
sudden6 2018-05-08 22:26:17 +02:00
parent 1f58e1c0af
commit 22f7f958ed
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
2 changed files with 18 additions and 0 deletions

View File

@ -109,6 +109,7 @@ matrix:
env: JOB=build-osx
- stage: "macOS and AppImage"
os: linux
env: JOB=APPIMAGE
script: ./appimage/build-appimage.sh
services:
- docker
@ -116,6 +117,17 @@ matrix:
script: "./.travis/$JOB.sh"
deploy:
# Linux AppImage
- provider: releases
api_key:
secure: "BRbzTWRvadALRQSTihMKruOj64ydxusMUS9FQR//qFlS345ZYfYta43W//4LcWWDKtj6IvA6DRqNdabgWnpbpxpnm9gVftGUdOKlU3niPZhwsMkB2M12QHUnAP6DVOfGPvdciBV+6mu73SSxniEcrYjZ1CrRX7mknmehPpVKxNk="
file: ./output/qTox-"$TRAVIS_TAG".AppImage
on:
condition: $JOB == APPIMAGE
repo: qTox/qTox
tags: true
skip_cleanup: true
# osx binary
- provider: releases
api_key:

View File

@ -40,3 +40,9 @@ docker run --rm \
-v $PWD/output:/output \
debian:stretch-slim \
/bin/bash -c "/qtox/appimage/build.sh"
# use the version number in the name when building a tag on Travis CI
if [ -n "$TRAVIS_TAG" ]
then
mv ./output/*.AppImage ./output/qTox-"$TRAVIS_TAG".AppImage
fi