Skip to content

Commit

Permalink
Issue 94: enforce changelog updates on release (#96)
Browse files Browse the repository at this point in the history
* enforce changelog updates on release

* .
  • Loading branch information
bwieger-atlassian-com authored Feb 5, 2025
1 parent 41b6fae commit e6fb91c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ fi
./scripts/version/assert-stable.sh $VERSION


# Confirm that the CHANGELOG.md has been updated
if ! grep -q "## What's new in $VERSION" CHANGELOG.md; then
echo "CHANGELOG.md has not been updated. Please update CHANGELOG.md with the changes in this release."
exit 1
fi

# add v to the beginning of the version number
VERSION="v$VERSION"

Expand Down

0 comments on commit e6fb91c

Please sign in to comment.