diff --git a/prepare-release.bash b/prepare-release.bash index f3fe9189..6a4eb2dc 100755 --- a/prepare-release.bash +++ b/prepare-release.bash @@ -38,7 +38,7 @@ Updating Translations " tx push -s tx pull -a -./gradlew deleteUnsupportedPlayTranslations publishListingFatRelease +./gradlew deleteUnsupportedPlayTranslations git add -A "src/fat/play/" git add -A "src/main/res/values-*/strings.xml" if ! git diff --cached --exit-code; @@ -70,9 +70,5 @@ git commit -m "Bumped version to $NEW_VERSION_NAME" git tag $NEW_VERSION_NAME echo " -Update ready. -1. Run \`git push --follow-tags\` -2. Enter release notes at https://github.com/syncthing/syncthing-android/releases -3. Build signed APK in Android Studio -4. Upload APKs to Google Play +Update ready. Now run `release.bash` to publish. " diff --git a/release.bash b/release.bash old mode 100644 new mode 100755 index e69de29b..4fb33fb3 --- a/release.bash +++ b/release.bash @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +CHANGELOG_FILE="src/main/play/en-GB/whatsnew" +rm $CHANGELOG_FILE +nano $CHANGELOG_FILE +cat $CHANGELOG_FILE +git push +git push --tags +./gradlew publishRelease