Update build-appimage.sh to use $VERSION_SUFFIX
authorCamila Ayres <hello@camilasan.com>
Mon, 29 Apr 2024 19:12:13 +0000 (21:12 +0200)
committerCamila Ayres <hello@camilasan.com>
Tue, 4 Jun 2024 21:14:32 +0000 (23:14 +0200)
Make sure that we can pass the value of MIRALL_VERSION_SUFFIX via parameter.

Signed-off-by: Camila Ayres <hello@camilasan.com>
admin/linux/build-appimage.sh

index fb18983287349be8c2148675721a3ef340888099..75c50aaca14c6b91b98dbd0943ee04cdded6a1e0 100755 (executable)
@@ -8,11 +8,14 @@ export BUILDNR=${BUILDNR:-0000}
 export DESKTOP_CLIENT_ROOT=${DESKTOP_CLIENT_ROOT:-/home/user}
 
 #Set Qt-5.15
+
 export QT_BASE_DIR=/opt/kdeqt5.15
 
 export QTDIR=$QT_BASE_DIR
 export PATH=$QT_BASE_DIR/bin:$PATH
 
+export VERSION_SUFFIX=${VERSION_SUFFIX:stable}
+
 # Set defaults
 export SUFFIX=${DRONE_PULL_REQUEST:=master}
 if [ $SUFFIX != "master" ]; then