Skip to content

Commit

Permalink
Fix release notes generation on GitHub Actions
Browse files Browse the repository at this point in the history
Seems like an issue with the checkout action: actions/checkout#290

Found this tip at actions/checkout#272 (comment)

[ci skip]
  • Loading branch information
dentarg committed May 8, 2023
1 parent e2273ee commit b645d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate-release-notes
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
LATEST_TAG=${GITHUB_REF_NAME:-$(git describe --abbrev=0)}
PREV_TAG=$(git describe --abbrev=0 "${LATEST_TAG}~")
LATEST_TAG=${GITHUB_REF_NAME:-$(git describe --tags --abbrev=0)}
PREV_TAG=$(git describe --tags --abbrev=0 "${LATEST_TAG}~")
TAG_BODY=$(git tag --list --format='%(body)' "$LATEST_TAG")
echo "$TAG_BODY" | sed '/^-----BEGIN PGP/,/^-----END PGP/d'
echo
Expand Down

0 comments on commit b645d08

Please sign in to comment.