-
-
Notifications
You must be signed in to change notification settings - Fork 492
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
Add option to use annotated tag message as release notes #162
Comments
Note: Looks like |
I think I finally got the workaround working 😩 name: Release
on:
push:
tags: ['v*.*.*']
jobs:
release-notes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Get Release Notes
run: 'echo "$(git tag -l --format="%(contents:body)" $GITHUB_REF_NAME)" > RELEASE_NOTES'
- name: Set Release Notes
uses: softprops/action-gh-release@v1
with:
body_path: RELEASE_NOTES |
Neat trick. Quick heads up this action now supports GitHubs automatically generated release notes Line 43 in 58fa4b7
|
I would still like to use the tag annotation as release notes xd |
@Fuseteam I ended up writing a simple action that uses |
@spenserblack awesome i'll take a look xD |
@spenserblack i tried to combine it but it used my commit message as the title and left the body empty xd i think this overwrote it :p |
Oh yeah it pretty naively tries to get the latest tag message. It also needs to be checked out at the ref (see the If you have any more trouble with it please open an issue on that repo 🙂 |
Cool thanks~ |
Annotated tags can contain release notes, and it would be nice if this action provided an option to use the tag's message as the GitHub Release notes.
The text was updated successfully, but these errors were encountered: