Skip to content

Commit

Permalink
chore: test PR to do nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
nr-developer-toolkit authored Sep 5, 2024
1 parent 83a0038 commit e74ef1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/release-auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ git add CHANGELOG.md
git commit --no-verify -m "chore(changelog): Update CHANGELOG for ${VER_NEXT}"
git push --no-verify origin HEAD:${DEFAULT_BRANCH}

# print an error message in case of failure, if the changes to the changelog cannot be committed to main
if [ $? -ne 0 ]; then
echo "Failed to push branch updates, exiting"
exit 1
Expand All @@ -80,4 +81,4 @@ git push --no-verify origin HEAD:${DEFAULT_BRANCH} --tags
if [ $? -ne 0 ]; then
echo "Failed to push tag, exiting"
exit $?
fi
fi

0 comments on commit e74ef1d

Please sign in to comment.