refs #13: Added GitHub action to automate release creations based on git tags. #6
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.
This contribution should solve issue #13 (carenalgas/popochiu#13) entirely.
This introduces an empty
build
folder necessary to the automation (just to keep things tidy, can be removed if it seems ugly), plus arelease-notes
folder that will hold a history of release notes in markdown format.The core is a short github action workflow which does the trick.
Here is the new release workflow explained:
When we are ready for a release:
v1.9.0
). Note:alpha
,beta
andrc
suffixes are all supported, so f.e.v1.9.0-beta12
is a valid release tag.release-notes
directory, named after the release number, ex:v1.9.0.md
.vX.Y.Z
, so in our examplev1.9.0
git push && git push --tags
, always on the main branchThe system will create a new release, with release notes read from the provided file (empty in case no file is provided, may be edited afterwards in case we left it our for some reason).
The new issue will be published and marked as
latest
, so it's always reachable atreleases/latest
URI.Making Godot AssetsLib point to the latest one, should solve the update part of the issue without messing with AssetsLib API.