Skip to content

Commit e0870bc

Browse files
woody-appleksperling-applerestyled-commits
authored
Updating script (#29932)
Co-authored-by: Karsten Sperling <113487422+ksperling-apple@users.noreply.github.com> Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 7bcf5f0 commit e0870bc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/tag-releases.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
env:
4646
GH_TOKEN: ${{ github.token }}
4747
run: |
48-
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
48+
export BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
4949
echo "Tagging against branch: $BRANCH_NAME"
50-
./scripts/tagging/tag_new_release.sh --generate-notes --target $BRANCH_NAME -d # Note this is a draft for now.
50+
./scripts/tagging/tag_new_release.sh --generate-notes --target "$BRANCH_NAME" -d # Note this is a draft for now.
5151
5252

scripts/tagging/tag_new_release.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,5 @@ echo "SDK release revisions: $SDK_RELEASE_REVISIONS"
5454
echo "New release: $NEW_RELEASE_TAG"
5555
echo "Additional arguments: $ADDITIONAL_ARGS"
5656

57-
gh release create "$ADDITIONAL_ARGS" --notes-start-tag "$CURRENT_RELEASE" "$NEW_RELEASE_TAG" "$@"
57+
echo executing: gh release create "$NEW_RELEASE_TAG" --notes-start-tag "$CURRENT_RELEASE" "$@" "$ADDITIONAL_ARGS"
58+
gh release create "$NEW_RELEASE_TAG" "--notes-start-tag" "$CURRENT_RELEASE" "$@" "$ADDITIONAL_ARGS"

0 commit comments

Comments
 (0)