Skip to content

Commit

Permalink
Updating script (#29932)
Browse files Browse the repository at this point in the history
Co-authored-by: Karsten Sperling <113487422+ksperling-apple@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
3 people committed Oct 24, 2023
1 parent 7bcf5f0 commit e0870bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tag-releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
3 changes: 2 additions & 1 deletion scripts/tagging/tag_new_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit e0870bc

Please sign in to comment.