mirror of
https://github.com/revanced/Apktool.git
synced 2025-04-30 06:04:25 +02:00
docs: update INTERNAL.md with version change guide
This commit is contained in:
parent
1c3cd41565
commit
cd9f72938e
12
INTERNAL.md
12
INTERNAL.md
@ -10,11 +10,11 @@ _Currently broken after movement to kotlin dsl._
|
|||||||
|
|
||||||
Inside `build.gradle` there are two lines.
|
Inside `build.gradle` there are two lines.
|
||||||
|
|
||||||
apktoolversion_major
|
version
|
||||||
apktoolversion_minor
|
suffix
|
||||||
|
|
||||||
The major variable should be left unchanged. If done correctly, it will already be the version
|
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 minor variable should read `SNAPSHOT` as
|
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).
|
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
|
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.
|
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.
|
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.
|
### Prepare for publishing.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user