All private files live outside the project in ~/private/macbook/debts/ (not tracked by git).
- create apps
net.thebix.debtsandnet.thebix.debts.debugin Firebase and save~/private/macbook/debts/app/google-services.json - put
debts.keystoreto~/private/macbook/debts/private/debts.keystore - make file
~/private/macbook/debts/private/debts_credentials.propertieswith
DEBTS_STORE_KEY_ALIAS=
DEBTS_STORE_KEY_ALIAS_PASSWORD=
DEBTS_STORE_KEY_FILE=~/private/mabook/debts/private/debts.keystore
DEBTS_STORE_KEY_PASSWORD=
- Prepare file
~/private/macbook/debts/app/google-play-publisher.json. More info: Google Play Publisher
- Convert
debts.keystorefile to base64
openssl base64 -in ~/private/macbook/debts/private/debts.keystore -out ~/private/macbook/debts/debts.keystore.base64- Convert
google-services.jsonfile to base64
openssl base64 -in ~/private/macbook/debts/app/google-services.json -out ~/private/macbook/debts/app/google-services.json.base64- Convert
google-play-publisher.jsonfile to base64
openssl base64 -in ~/private/macbook/debts/app/google-play-publisher.json -out ~/private/macbook/debts/app/google-play-publisher.json.base64- create secrets
DEBTS_STORE_KEY_ALIASDEBTS_STORE_KEY_ALIAS_PASSWORDDEBTS_STORE_KEY_FILEDEBTS_STORE_KEY_PASSWORDDEBTS_KEY_FILE_BASE64with content ofdebts.keystore.base64DEBTS_GOOGLE_SERVICES_FILE_BASE64with content ofgoogle-services.json.base64GOOGLE_PLAY_PUBLISHERwith content ofgoogle-play-publisher.json
# publish
./gradlew publishReleaseBundle
./gradlew publishReleaseApk
# all available tasks
./gradlew tasks --group publishing
# fetch all the media and texts from play store
./gradlew bootstrap- Change release notes and other text in
app/src/main/playfolder - Change app version
- Push to remote
- Tag release with
release/*.*.*
git tag -a release/*.*.* -m "Release/*.*.*"
git push origin release/*.*.*git push --delete origin internal/release
git tag -d internal/release
git tag -a internal/release -m "internal release"
git push --follow-tags