From e74ef1dea6c5f098923bd9cb108292c53cc667e4 Mon Sep 17 00:00:00 2001 From: New Relic Developer Toolkit Bot <62031461+nr-developer-toolkit@users.noreply.github.com> Date: Thu, 5 Sep 2024 15:43:54 +0530 Subject: [PATCH] chore: test PR to do nothing --- scripts/release-auto.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/release-auto.sh b/scripts/release-auto.sh index d5161eb..feba824 100755 --- a/scripts/release-auto.sh +++ b/scripts/release-auto.sh @@ -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 @@ -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 \ No newline at end of file +fi