Skip to content
Snippets Groups Projects
Commit ebc33e4f authored by poka's avatar poka
Browse files

can auto push release with forum message

parent 2facd8cd
Branches
Tags
No related merge requests found
......@@ -3,6 +3,8 @@
fVersion=$(grep "version: " pubspec.yaml | awk '{ print $2 }')
withPush=$1
APPNAME="gecko"
VERSION=$(awk -F '+' '{ print $1 }' <<<$fVersion)
BUILD=$(awk -F '+' '{ print $2 }' <<<$fVersion)
......@@ -35,4 +37,6 @@ fi
appPath="$DL/${APPNAME}-${VERSION}+${BUILD}.apk"
mv build/app/outputs/flutter-apk/$ori_app "$appPath" && echo "$appPath" || exit 1
[[ $withPush == "withPush" ]] && /home/poka/scripts/link/pushGecko $VERSION
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment