diff --git a/.github/workflows/tag-releases.yaml b/.github/workflows/tag-releases.yaml index 29689dd909317d..cdeb8778ab10f3 100644 --- a/.github/workflows/tag-releases.yaml +++ b/.github/workflows/tag-releases.yaml @@ -45,8 +45,8 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) + export BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) echo "Tagging against branch: $BRANCH_NAME" - ./scripts/tagging/tag_new_release.sh --generate-notes --target $BRANCH_NAME -d # Note this is a draft for now. + ./scripts/tagging/tag_new_release.sh --generate-notes --target "$BRANCH_NAME" -d # Note this is a draft for now. diff --git a/scripts/tagging/tag_new_release.sh b/scripts/tagging/tag_new_release.sh index 0e26c26de4cfb2..1fca130cf8f385 100755 --- a/scripts/tagging/tag_new_release.sh +++ b/scripts/tagging/tag_new_release.sh @@ -54,4 +54,5 @@ echo "SDK release revisions: $SDK_RELEASE_REVISIONS" echo "New release: $NEW_RELEASE_TAG" echo "Additional arguments: $ADDITIONAL_ARGS" -gh release create "$ADDITIONAL_ARGS" --notes-start-tag "$CURRENT_RELEASE" "$NEW_RELEASE_TAG" "$@" +echo executing: gh release create "$NEW_RELEASE_TAG" --notes-start-tag "$CURRENT_RELEASE" "$@" "$ADDITIONAL_ARGS" +gh release create "$NEW_RELEASE_TAG" "--notes-start-tag" "$CURRENT_RELEASE" "$@" "$ADDITIONAL_ARGS"