Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
CCInc committed Oct 4, 2021
1 parent 916094d commit 79ded84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-release-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ try:
changelogContent = file.read()
unreleasedTitle = "## [Unreleased]"
previousReleaseTitle = "$1"[1:]
previousReleaseTitle = "$1"
previousReleaseTitle = "## [%s]" % (previousReleaseTitle)
startIndex = changelogContent.index(unreleasedTitle) + len(unreleasedTitle)
endIndex = changelogContent.index(previousReleaseTitle, startIndex)
Expand All @@ -22,6 +22,6 @@ END
echo
echo "<details> <summary>Commit History</summary>"
echo
git log --pretty=format:"* %s (%h)" $1...HEAD
git log --pretty=format:"* %s (%h)" v$1...HEAD
echo
echo "</details>"

0 comments on commit 79ded84

Please sign in to comment.