From d2dc465b19b9b328359e4f8363a26a688accc6b6 Mon Sep 17 00:00:00 2001 From: Sarah Gilmore Date: Mon, 20 May 2024 15:34:54 -0400 Subject: [PATCH] Fix syntax errors in post-05-update-gh-release-notes.sh --- dev/release/post-05-update-gh-release-notes.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/release/post-05-update-gh-release-notes.sh b/dev/release/post-05-update-gh-release-notes.sh index 7a703690e85ed..e321c98721c17 100755 --- a/dev/release/post-05-update-gh-release-notes.sh +++ b/dev/release/post-05-update-gh-release-notes.sh @@ -20,7 +20,7 @@ set -e set -o pipefail -if [ "$#" -ne 2 ]; then +if [ "$#" -ne 1 ]; then echo "Usage: $0 " exit 1 fi @@ -39,4 +39,4 @@ SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Update the Release Notes section RELEASE_NOTES_URL="https://arrow.apache.org/release/${VERSION}.html" RELEASE_NOTES="Release Notes URL: ${RELEASE_NOTES_URL}" -gh release edit ${TAG} --repo ${REPOSITORY} --notes "{RELEASE_NOTES}" --verify-tag +gh release edit ${TAG} --repo ${REPOSITORY} --notes "${RELEASE_NOTES}" --verify-tag