From a20d63dd1453daeca90fce9d530e400dca8a3633 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Sun, 7 Mar 2021 15:12:27 -0500 Subject: [PATCH] docs: add information for publishing --- INTERNAL.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/INTERNAL.md b/INTERNAL.md index 57beaf9d..db9af654 100644 --- a/INTERNAL.md +++ b/INTERNAL.md @@ -42,6 +42,22 @@ For example for the `2.2.1` release. git tag -a v2.2.1 -m "changed version to v2.2.1" +### Prepare for publishing. + +New to Apktool is publishing releases to Maven, so plugin authors can directly integrate. You +need a `gradle.properties` file in root with the structure: + +``` +signing.keyId={gpgKeyId} +signing.password={gpgPassphrase} +signing.secretKeyRingFile={gpgSecretKingRingLocation} + +ossrhUsername={sonatypeUsername} +ossrhPassword={sonatypePassword} +``` + +If `release` or `snapshot` is used publishing will be automatically attempted. + ### Building the binary. In order to maintain a clean slate. Run `gradlew clean` to start from a clean slate. Now lets build @@ -93,7 +109,7 @@ We upload the binaries into 3 places. 1. [Bitbucket Downloads](https://bitbucket.org/iBotPeaches/apktool/downloads) 2. [Github Releases](https://github.com/iBotPeaches/Apktool/releases) - Since `2.2.1`. -3. [Backup Mirror](http://connortumbleson.com/apktool/) +3. [Backup Mirror](https://connortumbleson.com/apktool/) #### Bitbucket