mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-26 14:21:16 +00:00
Added release script
This commit is contained in:
parent
c64df26882
commit
6d9a08f8f3
2 changed files with 11 additions and 6 deletions
|
@ -38,7 +38,7 @@ Updating Translations
|
||||||
"
|
"
|
||||||
tx push -s
|
tx push -s
|
||||||
tx pull -a
|
tx pull -a
|
||||||
./gradlew deleteUnsupportedPlayTranslations publishListingFatRelease
|
./gradlew deleteUnsupportedPlayTranslations
|
||||||
git add -A "src/fat/play/"
|
git add -A "src/fat/play/"
|
||||||
git add -A "src/main/res/values-*/strings.xml"
|
git add -A "src/main/res/values-*/strings.xml"
|
||||||
if ! git diff --cached --exit-code;
|
if ! git diff --cached --exit-code;
|
||||||
|
@ -70,9 +70,5 @@ git commit -m "Bumped version to $NEW_VERSION_NAME"
|
||||||
git tag $NEW_VERSION_NAME
|
git tag $NEW_VERSION_NAME
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
Update ready.
|
Update ready. Now run `release.bash` to publish.
|
||||||
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
|
|
||||||
"
|
"
|
||||||
|
|
9
release.bash
Normal file → Executable file
9
release.bash
Normal file → Executable 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
|
Loading…
Reference in a new issue