| name | release-prep |
| description | Prepare a new release - bump action.yml image version, verify CHANGELOG entry and stage changes |
| disable-model-invocation | true |
Args: VERSION (e.g. 0.61.0)
Steps:
-
Update action.yml — change the image: value to:
docker://jonasbn/github-action-spellcheck:$VERSION
-
Update README.md - change the referenced use in the various configuration examples to match the new version:
uses: rojopolis/spellcheck-github-actions@$VERSION
-
Check CHANGELOG.md for an entry matching $VERSION. If none exists, warn and stop — ask the user to add a changelog entry before continuing.
-
Create a PR for the changes to action.yml, README.md, and the new changelog entry in CHANGELOG.md. Wait for the PR to be merged before proceeding.
-
On merge:
perl scripts/build.pl $VERSION
-
Check the return value of the build script. If it fails, show the error and stop. The build script does the tagging and pushing to GitHub and Docker Hub.
-
Confirm the tag was pushed