1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 20:31:16 +00:00

Added release script

This commit is contained in:
Felix Ableitner 2016-12-16 18:46:34 +09:00
parent c64df26882
commit 6d9a08f8f3
2 changed files with 11 additions and 6 deletions

View file

@ -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.
"

9
release.bash Normal file → Executable file
View file

@ -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