docs: update INTERNAL.md with version change guide

This commit is contained in:
Connor Tumbleson 2023-12-06 07:05:10 -05:00
parent 1c3cd41565
commit cd9f72938e
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75

View File

@ -10,11 +10,11 @@ _Currently broken after movement to kotlin dsl._
Inside `build.gradle` there are two lines.
apktoolversion_major
apktoolversion_minor
version
suffix
The major variable should be left unchanged. If done correctly, it will already be the version
you are about to release. In this case `2.2.2`. The minor variable should read `SNAPSHOT` as
The version variable should be left unchanged. If done correctly, it will already be the version
you are about to release. In this case `2.2.2`. The suffix variable should read `SNAPSHOT` as
the `2.2.2` release up until this point was `SNAPSHOT` releases (Unofficial).
We need to remove the `SNAPSHOT` portion and leave the minor version blank. An example can be
@ -26,11 +26,11 @@ with the commit message - `version bump (x.x.x)`.
At this point we now have the commit of the release, but we need to tag it using the following message.
git tag -a vx.x.x -m "changed version to vx.x.x"
git tag -a vx.x.x -m "changed version to vx.x.x" -s
For example for the `2.2.1` release.
git tag -a v2.2.1 -m "changed version to v2.2.1"
git tag -a v2.2.1 -m "changed version to v2.2.1" -s
### Prepare for publishing.