Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
tags: ghcr.io/mrcsin/usher:${{ github.ref_name }}
build-args: VERSION=${{ github.ref_name }}

# actions/checkout leaves the tag without its annotation, and --notes-from-tag
# would then publish the commit message instead of the release notes.
- name: fetch annotated tag
run: git fetch --force origin "refs/tags/$GITHUB_REF_NAME:refs/tags/$GITHUB_REF_NAME"

- name: create GitHub release
run: gh release create "$GITHUB_REF_NAME" --verify-tag --notes-from-tag
env:
Expand Down
Loading