Skip to content

Commit

Permalink
Fix syntax errors in post-05-update-gh-release-notes.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Jun 6, 2024
1 parent a495f25 commit d2dc465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/release/post-05-update-gh-release-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
set -e
set -o pipefail

if [ "$#" -ne 2 ]; then
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <version>"
exit 1
fi
Expand All @@ -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

0 comments on commit d2dc465

Please sign in to comment.