Update release-script
This commit is contained in:
@@ -18,8 +18,8 @@ if [[ "$VERS_BY_TAG" != "$VERS_BY_SPEC" ]]; then
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "(!) Make sure you've updated version-number in pubspec.yaml (current = ${VERS}) !"
|
||||
echo 'Confirmed' && read -r
|
||||
echo "(!) Make sure you've updated version-number in pubspec.yaml (current = ${VERS}) and created a tag (current = ${VERS_BY_TAG}) !"
|
||||
echo '> Press Enter to confirm...' && read -r
|
||||
echo ""
|
||||
|
||||
flutter build apk --release
|
||||
@@ -31,7 +31,10 @@ echo ""
|
||||
|
||||
flutter build appbundle --release
|
||||
cp build/app/outputs/bundle/release/app-release.aab "_releases/v${VERS}.aab"
|
||||
cd "build/app/intermediates/merged_native_libs/release/out/lib" && zip -r "../../../../../../../_releases/v${VERS}.symbols.zip" .
|
||||
|
||||
pushd "build/app/intermediates/merged_native_libs/release/out/lib" || exit 1
|
||||
zip -r "../../../../../../../_releases/v${VERS}.symbols.zip" .
|
||||
popd || exit 1
|
||||
|
||||
echo ""
|
||||
echo "--> copied AAB to _releases ( Version: ${VERS} )"
|
||||
|
||||
@@ -2,7 +2,7 @@ name: simplecloudnotifier
|
||||
description: "Receive push messages"
|
||||
publish_to: 'none'
|
||||
|
||||
version: 2.1.0+509
|
||||
version: 2.1.1+509
|
||||
|
||||
environment:
|
||||
sdk: '>=3.9.0 <4.0.0'
|
||||
|
||||
Reference in New Issue
Block a user