Skip to content

Commit

Permalink
chore(changelog): replace [unreleased] with version for rc
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredallard committed Jun 15, 2024
1 parent 3c67496 commit 640d89d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .mise/tasks/changelog-release
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@ else
fi

# Run mise to generate the changelog.
exec "${args[@]}"
"${args[@]}"

# If we're on a rc version, fix the header.
if [[ $CURRENT_TAG == *"-rc"* ]]; then
sed -i.bak "s/^## [unreleased]/## $CURRENT_TAG/" CHANGELOG.md
rm CHANGELOG.md.bak
fi

0 comments on commit 640d89d

Please sign in to comment.