[WIP] First pass at GHA to automate changelog generation for release #5108
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.
resolves #4789
Description
This is a WIP and not complete but want to document where I stopped even though the release process is currently being reworked.
Inputs:
Uses the changie docker container to run the
batch
andmerge
commands from given input. There are two options:CHANGELOG
for a pre-release/unreleased
directory and moves all those yaml files into a directory named for the input version. The markdown file will be named in the format of<version>-<prerelease>.md
ie.1.1.0-b1.md
CHANGELOG.md
file by combining all.md
files in the/.changes
directory. There can be multiple pre-releases for a single release.CHANGELOG
for a final release/unreleased
directory and the/<version>
directory. Deletes all yaml files in those directories. Also deletes all markdown files for the prerelease of this version. (ie,1.1.0-b1.md
,1.1.0-rc1.md
...) since those changes are collapsed down and included in the new markdown file.CHANGELOG.md
file for the version. This collapses all pre-release versions into a single release.Checklist