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:
parent
64602f38f1
commit
59b5578c7b
12
.travis.yml
12
.travis.yml
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user