This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Script that will use the provided Android App Bundle (.aab) and change its version code and version name to the provided values, avoiding re-building the whole .aab. | |
# Run this script with: bash rollback.sh your_project.aab android_signing_key.key key_alias key_pwd version_code version_name | |
# | |
# Necessary setup: | |
# | |
# jarsigner - This binary should exist in the path, you'll get this by installing JDK | |
# | |
# Configuration.proto and Resources.proto can be found in aapt2's github |