Skip to content

Commit 216b5d0

Browse files
committed
Simpler version for AppImage and branch name in the continuous release
The command `git rev-parse --abbrev-ref HEAD` is not returning the branch name in the travis server, and for the version in AppImage filename it would be enough to have the short commit id. Note that these changes are branch dependant. See issue sqlitebrowser#1092
1 parent ed72587 commit 216b5d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.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=$(printf "`git rev-parse --abbrev-ref HEAD`-`git rev-list HEAD --count`-` git -C . rev-parse --short HEAD`") #$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
63+
- export VERSION=`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=$VERSION ./upload.sh DB_Browser_for_SQLite*.AppImage*
71+
- UPLOADTOOL_ISPRERELEASE=true UPLOADTOOL_SUFFIX=v3.12.x ./upload.sh DB_Browser_for_SQLite*.AppImage*
7272

7373
notifications:
7474
email:

0 commit comments

Comments
 (0)