Fix release versioning + incremental builds #43
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The last Pull Request broke the incremental builds whilst trying to fix the release tagging/deploy syntax.
The used workflow to deploy the artifact and create a tag + release on GitHub does not support a clean version such as
1.4.0
instead of1.4.0-rc....
. This is due to the hardcoded-Dset.changelist
flag which does not allow skipping the suffix.As the Gitea plugin should have clean release names, I switched to my fork where this feature is implemented. We can use it as long as the upstream PR for that workflow is not merged.
In addition to that, I've came to the conclusion that it wouldn't be wise to skip all the interim versions between 1.4.0 and 1.5.0. Why should we do this. So back to 1.4.1. 😄
We now have a fully automated release on button click (workflow_dispatch). After releasing the current version, the workflow also bumps the incremental/patch version to the next higher version. If there is a need to increase the minor version, we'd need to do it manually.
The only thing I couldn't get working is the
gitea-
prefix for tags and thev
prefix on release subjects. But I think the current way is totally fine.