* fix issue where changelog is always slightly out of date on release tags
* fix tag step running all the time per CR
* update tag name to use more clear variable name
* update copyright symbols to unicode
* clean up version screen/copyright notice
* small change to make commands more similar
* update imports to appease isort
* fix test
* update one more file merged since PR was open
* add actionlint for github actions to testing suite
* add quotes around vars per shellcheck
* change expression per shellcheck
* put more quotes around vars per shellcheck
* put quotes around entire string
* use find instead of ls to better handle non-alphanumberic filenames
* update release workflow input types to have actual typese and fix typo
There were several problems that this fixes:
- shallow fetch broke merging to release branch
- bad changelog was only outputting error msg (not exiting)
- latest version being on first line deleted itself and broke the
changelog updates
This also has manual fixes to the changelog to bring it up to date.
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
* Fix version header detection in changelog
This updates the regex to find the version header in our changelog.
There was a bug that affected patch, alpha, and beta versions. For
example, if we were looking for "v2.5" we might find "v2.5.1" or
"v2.5.1-alpha" or other versions like that.
This led to the changelog not being cleared properly on update, and old
versions sticking around longer than they should.
* re-add option to include author link for merged PRs in changelog
This option was accidentally left out when migrating the changelog
generator tool to github actions.
* fix conditional in changelog workflow
In github actions, booleans always end up as strings. So, it's not
enough to test `env.FULL_RELEASE` because both 'true' and 'false' will
evaluate as true. This fixes the conditional to check for the string
value 'true' instead of relying on a boolean.
The changelog was triggering after each branch create on a repo. That
doesn't happen often on the main repo, but does happen often on
contributor forks. This should stop the rampant GH actions.
* Fixes for new CI pipeline (Github Actions)
- Support ci skip tag on commits to avoid build dupes
- Add smarter path detection so we don't spam tons of tests
- Allow steps to cancel if previous steps were cancelled (don't always
run)
- Separate workflows to be more modular
- Update release workflow to do a few more things
- Add helpful messages
- Be more strict in version checking (now with added regex)
- Make changelog smarter about when to trigger
- Add some functionality for changelog to handle releases and
prereleases separately
- Better error handling
- Split up the version validation and the release to make way for more
releases
* add step in workflow to merge to release branch after a release
* add check for git diff so commit doesn't error out constantly
* add bot token since gh actions doesn't allow pushing to protected branch
* add a max for issues, since we keep getting rate limited
* add jrnl bot username to commit step
* change token for git repo
* Add changelog workflow to github actions, remove old script
This basically takes the exact script, and turns it into a workflow. The
only difference is that the new workflow doesn't detect a release build
like the script did (releases will be a separate workflow).
* remove old config file for changelog generator (it's in workflow now)
* whitespace change
* remove ableist language