Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,10 @@ jobs:
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git tag -a "v$VERSION" -m "$VERSION"
git push origin "v$VERSION"

- name: GitHub release from the changelog
env:
GH_TOKEN: ${{ github.token }}
run: |
awk -v v="$VERSION" '$0 ~ "^## "v" " {on=1; next} /^## / && on {exit} on' CHANGELOG.md |
gh release create "v$VERSION" --title "$VERSION" --notes-file -
5 changes: 5 additions & 0 deletions changes/ci-github-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Fixed

- **A release makes its GitHub release again.** The release workflow pushed only the tag, so GitHub's releases page
stopped at the last release made by hand. The `tag` job now creates the release from the version's changelog
section, as the CLIs' release workflows do. 1.x was backfilled by hand.