Skip to content

Commit 2de4375

Browse files
committed
Fix
1 parent 65e7011 commit 2de4375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/repo.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
id: prep
105105
run: |
106106
PR_NUMBER=$(echo ${{ github.event.number }})
107-
COMMIT_SHORT_SHA=$(${{ github.event.pull_request.head.sha }} | cut -c1-7)
107+
COMMIT_SHORT_SHA=$(echo "${{ github.event.pull_request.head.sha }}" | cut -c1-7)
108108
CURRENT_VERSION=$(node -p "require('./package.json').version")
109109
NEW_VERSION="${CURRENT_VERSION}-dev.${PR_NUMBER}.${COMMIT_SHORT_SHA}"
110110
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV

0 commit comments

Comments
 (0)