Skip to content

Commit

Permalink
bruig: Add version arg and fix paths (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlyp authored Jan 20, 2023
1 parent b41672f commit 883d5ba
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bruig/flutterui/bruig/package_linux.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/sh

VERSION=v0.1.2
if [ $# -ne 1 ]; then
echo "invalid arguments: version" >&2
exit 2
fi
VERSION=$1
TAR_NAME=bisonrelay-linux-amd64-$VERSION.tar.gz
BUILD_DIR=build/linux/x64/release/bundle
APPIMAGE_DIR=BisonRelayBuild/
Expand Down Expand Up @@ -36,4 +40,4 @@ fi

appimagetool-x86_64.AppImage $APPIMAGE_DIR

mv build/Bison_Relay-x86_64.AppImage build/BisonRelay-$VERSION.AppImage
mv Bison_Relay-x86_64.AppImage BisonRelay-$VERSION.AppImage

0 comments on commit 883d5ba

Please sign in to comment.