Skip to content

thebix/debts

Repository files navigation

Debts app

Developer setup

All private files live outside the project in ~/private/macbook/debts/ (not tracked by git).

  • create apps net.thebix.debts and net.thebix.debts.debug in Firebase and save ~/private/macbook/debts/app/google-services.json
  • put debts.keystore to ~/private/macbook/debts/private/debts.keystore
  • make file ~/private/macbook/debts/private/debts_credentials.properties with
    DEBTS_STORE_KEY_ALIAS=
    DEBTS_STORE_KEY_ALIAS_PASSWORD=
    DEBTS_STORE_KEY_FILE=~/private/mabook/debts/private/debts.keystore
    DEBTS_STORE_KEY_PASSWORD=

Github setup

  1. Convert debts.keystore file to base64
openssl base64 -in ~/private/macbook/debts/private/debts.keystore -out ~/private/macbook/debts/debts.keystore.base64
  1. Convert google-services.json file to base64
openssl base64 -in ~/private/macbook/debts/app/google-services.json -out ~/private/macbook/debts/app/google-services.json.base64
  1. Convert google-play-publisher.json file to base64
openssl base64 -in ~/private/macbook/debts/app/google-play-publisher.json -out ~/private/macbook/debts/app/google-play-publisher.json.base64
  1. create secrets
  • DEBTS_STORE_KEY_ALIAS
  • DEBTS_STORE_KEY_ALIAS_PASSWORD
  • DEBTS_STORE_KEY_FILE
  • DEBTS_STORE_KEY_PASSWORD
  • DEBTS_KEY_FILE_BASE64 with content of debts.keystore.base64
  • DEBTS_GOOGLE_SERVICES_FILE_BASE64 with content of google-services.json.base64
  • GOOGLE_PLAY_PUBLISHER with content of google-play-publisher.json

Google Play Store

# publish
./gradlew publishReleaseBundle
./gradlew publishReleaseApk
# all available tasks
./gradlew tasks --group publishing
# fetch all the media and texts from play store
./gradlew bootstrap

Release

Steps

  1. Change release notes and other text in app/src/main/play folder
  2. Change app version
  3. Push to remote
  4. Tag release with release/*.*.*
git tag -a release/*.*.* -m "Release/*.*.*"
git push origin release/*.*.*

Internal

git push --delete origin internal/release
git tag -d internal/release
git tag -a internal/release -m "internal release"
git push --follow-tags

About

Debts manager

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages