Fix typo crashing release script. (#1173)

Signed-off-by: Artur Souza <asouza.pro@gmail.com>
This commit is contained in:
Artur Souza 2024-12-06 14:02:21 -08:00 committed by GitHub
parent 1b37a1c65c
commit 7a07a6e437
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -42,12 +42,12 @@ if [ "$VARIANT" = "SNAPSHOT" ]; then
git checkout -b $branch_name
${script_dir}/update_sdk_version.sh $REL_VERSION
git clean -xdf
git commit -s -m "Update master version to ${$REL_VERSION}" -a
git commit -s -m "Update master version to ${REL_VERSION}" -a
git push origin $branch_name
gh pr create --repo ${GITHUB_REPOSITORY} \
--base master \
--title "Update master version to ${$REL_VERSION}" \
--body "Update master version to ${$REL_VERSION}"
--title "Update master version to ${REL_VERSION}" \
--body "Update master version to ${REL_VERSION}"
echo "Done."
exit 0
elif [ "$VARIANT" = "rc" ]; then
@ -114,8 +114,8 @@ if [ "$VARIANT" = "" ]; then
git push origin $branch_name
gh pr create --repo ${GITHUB_REPOSITORY} \
--base master \
--title "Update master docs for ${$REL_VERSION} release" \
--body "Update master docs for ${$REL_VERSION} release"
--title "Update master docs for ${REL_VERSION} release" \
--body "Update master docs for ${REL_VERSION} release"
fi
echo "Done."