Skip to content

Commit 5b6ad63

Browse files
committed
Generalize branch name in AppImage version and continuous release
Travis environment variables are used. See issue #1092
1 parent 216b5d0 commit 5b6ad63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ script:
6060
- cd ..
6161
- wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/6/linuxdeployqt-6-x86_64.AppImage"
6262
- chmod a+x linuxdeployqt-6-x86_64.AppImage
63-
- export VERSION=`git -C . rev-parse --short HEAD` # linuxdeployqt uses this for naming the file
63+
- export VERSION=${TRAVIS_BRANCH}-`git -C . rev-parse --short HEAD` # linuxdeployqt uses this for naming the file
6464
- ./linuxdeployqt-6-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
6565

6666

6767
after_success:
6868
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
6969
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
7070
- chmod a+x upload.sh
71-
- UPLOADTOOL_ISPRERELEASE=true UPLOADTOOL_SUFFIX=v3.12.x ./upload.sh DB_Browser_for_SQLite*.AppImage*
71+
- UPLOADTOOL_ISPRERELEASE=true UPLOADTOOL_SUFFIX=$TRAVIS_BRANCH ./upload.sh DB_Browser_for_SQLite*.AppImage*
7272

7373
notifications:
7474
email:

0 commit comments

Comments
 (0)