A vegan guide to Berlin/Germany. This app runs on Android 4.x and up and comes in 2 flavors. There is a "playstore" version with proprietary Google Maps integration and a "foss" version with no proprietary dependencies.
./gradlew installPlaystoreDebug
./gradlew installFossDebug
#test
./gradlew test
- check out master, if not already happened, and make sure you are up-to-date, e.g.
git fetch --all
,git pull
, etc. - merge branch development:
git merge --ff-only origin/development
- set annotated git tag for version, e.g.
TAG=0.1 && git tag -a ${TAG} -m ${TAG}
- build the release:
./gradlew assemblePlaystoreRelease -PsharedSecret=<acra_shared_secret>
- sign the release, e.g.
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore ./app/build/outputs/apk/app-playstore-release-unsigned.apk alias_name
- give the app a better name, e.g.
mv ./app/build/outputs/apk/app-playstore-release-unsigned.apk ./app/build/outputs/apk/org.berlin_vegan.app_alpha.apk
- install the release:
adb install -r ./app/build/outputs/apk/org.berlin_vegan.app_alpha.apk
- check is everything is fine and especially check the version string under 'About'
- if everything is fine, push to upstream:
git push origin master --tags
- switch to development branch and increase versionCode in "app/build.gradle"