Wynntils / Wynntils-Legacy

Wynntils is a Wynncraft Mod that seeks to enhance the user's gameplay with a variety of customizable options and additions.
https://wynntils.com
GNU Affero General Public License v3.0
157 stars 90 forks source link

ci: Rework releases #587

Closed DevScyu closed 2 years ago

DevScyu commented 2 years ago

This PR changes how the automatic version bumping and releases work.

Cutting Edge builds are now released as v-beta. Stable builds will be released as v

The version is determined by the changes from the last stable build. If there are only commits marked as "fix" in the changes from stable, then the PATCH number will be the one to increase. If there are any "feat" commits in the changes from stable, then the MINOR number will be the one to increase.

Current workflow:

(production)
v1.12.0 - Stable (Wynntils-MC1.12.2-v1.12.0.jar)

(dev branch)
v1.12.1 - fix: thing was fixed (Wynntils-MC1.12.2-v1.12.1-beta+1.jar)
v1.13.0 - feat: new feature was added (Wynntils-MC1.12.2-v1.13.0-beta+2.jar)
v1.13.0 - fix: more fixes (Wynntils-MC1.12.2-v1.13.0-beta+3.jar)
v1.13.0 - feat: more features (Wynntils-MC1.12.2-v1.13.0-beta+4.jar)

(production)
v1.13.0 - New Release from Dev Branch (Wynntils-MC1.12.2-v1.13.0.jar)

(dev branch)
v1.13.1 - fix: important hotfix (Wynntils-MC1.12.2-v1.13.1-beta+1.jar)

(production)
v1.13.1 - New Release from Dev Branch (Wynntils-MC1.12.2-v1.13.1.jar)

(dev branch)
v1.13.2 - fix: more fixes (Wynntils-MC1.12.2-v1.13.2-beta+1.jar)
v1.14.0 - feat: new features (Wynntils-MC1.12.2-v1.14.0-beta+2.jar)
magicus commented 2 years ago

The PR is in a weird state. Looks like a mix between a patch and a merge.