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

feat(deploy): upload Flatpak bundle to Github releases

This commit is contained in:
sudden6 2018-07-04 01:00:04 +02:00
parent 64602f38f1
commit 59b5578c7b
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
2 changed files with 18 additions and 0 deletions

View File

@ -135,6 +135,18 @@ deploy:
tags: true tags: true
skip_cleanup: true skip_cleanup: true
# Linux Flatpak
- provider: releases
api_key:
secure: "BRbzTWRvadALRQSTihMKruOj64ydxusMUS9FQR//qFlS345ZYfYta43W//4LcWWDKtj6IvA6DRqNdabgWnpbpxpnm9gVftGUdOKlU3niPZhwsMkB2M12QHUnAP6DVOfGPvdciBV+6mu73SSxniEcrYjZ1CrRX7mknmehPpVKxNk="
file_glob: true
file: ./output/*
on:
condition: $JOB == FLATPAK
repo: qTox/qTox
tags: true
skip_cleanup: true
# osx binary # osx binary
- provider: releases - provider: releases
api_key: api_key:

View File

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