Closed atrifat closed 11 months ago
Following steps were mostly adapted from Amethyst Readme
keytool -genkey -v -keystore my-release-key.keystore -alias <alias_name> -keyalg RSA -keysize 2048 -validity 10000
openssl base64 < my-release-key.keystore | tr -d '\n' | tee some_signing_key.jks.base64.txt
KEY_ALIAS <- <alias_name>
KEY_PASSWORD <- <your password>
KEY_STORE_PASSWORD <- <your key store password>
SIGNING_KEY <- the data from <my-release-key.keystore>
Description
This PR will solve issue #71 by adding Automated Github Action Release Script. The following script will build android release apk and aab files, sign them using maintainer keystore, and make release draft (pre-release) which can be updated later. The process will ensure the build process will be transparent and more reproducible to other users/developers. This process is similar to how Amethyst release script been executed by tagging release with semantic versioning.
Maintainer (@nostrband ) only need to add 4 secrets needed by Github Actions after merging the PR:
and tag the release version:
A working example is available on release draft here produced by the following action script.
Additional steps related to keystore creation were also attached in description below. Thank you.