Skip to content

Commit 7eb02c2

Browse files
committed
build: add prompt to manually modify changelog on release
1 parent 3887cab commit 7eb02c2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

start.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ case "${1-}" in
6060
echo "-- creating changelog"
6161
git-conventional-commits changelog --release "$VERSION" --file CHANGELOG.MD
6262

63+
read -r -p "-- changelog ok? [Y/n]" response
64+
response=${response,,} # tolower
65+
if [[ $response =~ ^(no|n) ]] ; then
66+
echo "aborting"
67+
exit 1
68+
fi
69+
6370
echo "-- creating commit for changelog"
6471
git commit -am"doc(release): create ${VERSION} change log entry"
6572

0 commit comments

Comments
 (0)