Skip to content

Commit 8c6a62f

Browse files
committed
ci: fix git rev-parse
1 parent bff68e2 commit 8c6a62f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/create-tag.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
if [[ -z "${{ inputs.commit }}" ]]; then
2929
COMMIT="${{ inputs.commit }}"
3030
else
31-
COMMIT=git rev-parse ${{ github.sha }}^@ | grep -Fvx ${{ github.event.pull_request.head.sha }}
31+
COMMIT=$(git rev-parse ${{ github.sha }}^@ | grep -Fvx ${{ github.event.pull_request.head.sha }})
3232
fi
3333
git checkout $COMMIT
3434

0 commit comments

Comments
 (0)