Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: automatically publish release notes to GitHub Releases #643

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Feb 16, 2022

This branch adds a GitHub Actions workflow to automatically publish
release notes to GitHub Releases when a tag is pushed on the master
branch that corresponds to a release.

The release notes are parsed from the changelog using
taiki-e/create-release-action. The workflow will only run when a tag
matching tower-[0-9].+ or tower-[a-z]+-[0-9].+ is pushed to the
master branch on the origin (tower-rs/tower) repo.

This branch adds a GitHub Actions workflow to automatically publish
release notes to GitHub Releases when a tag is pushed on the `master`
branch that corresponds to a release.

The release notes are parsed from the changelog using
taiki-e/create-release-action. The workflow will only run when a tag
matching `tower-[0-9].+` or `tower-[a-z]+-[0-9].+` is pushed to the
`master` branch on the origin (`tower-rs/tower`) repo.
@hawkw hawkw enabled auto-merge (squash) February 16, 2022 18:48
Copy link
Member

@davidpdrsn davidpdrsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually not a fan of automated release flows like this but up for giving it a shot.

@hawkw hawkw merged commit 7b6587e into master Feb 16, 2022
@hawkw hawkw deleted the eliza/autorelease branch February 16, 2022 19:20
@hawkw
Copy link
Member Author

hawkw commented Feb 16, 2022

@davidpdrsn for the record, all this does is create a GitHub Release from a tag; my experience is that it's easy to forget to do that, so it's nice to automate that step.

@hawkw
Copy link
Member Author

hawkw commented Feb 16, 2022

(and, if it fails for any reason, the GitHub release can still be created manually)

@davidpdrsn
Copy link
Member

Ah yes true. All good!

hawkw added a commit that referenced this pull request Feb 16, 2022
In #643, I accidentally included a `v` before the version number in the
regex for matching release tags for the `tower` crate, but not for
`tower-whatever` crates. All previous release tags on this repo don't
use a `v`, so adding it was a mistake. This branch removes it.
hawkw added a commit that referenced this pull request Feb 16, 2022
In #643, I accidentally included a `v` before the version number in the
regex for matching release tags for the `tower` crate, but not for
`tower-whatever` crates. All previous release tags on this repo don't
use a `v`, so adding it was a mistake. This branch removes it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants