Skip to content

Commit f393aac

Browse files
committed
ci: fix prerelease version command
1 parent 46561c3 commit f393aac

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pre-release-sha.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ jobs:
3838
git config --global user.email "82042599+token-generator-app[bot]@users.noreply.github.com"
3939
4040
- name: Run npm version
41-
run:
42-
npm --no-git-tag-version version "\$(jq --raw-output .version package.json)-pre.\$(git rev-parse --short ${{
43-
inputs.ref }})"
41+
run: |
42+
npm --no-git-tag-version version "$(jq --raw-output .version package.json)-pre.$(git rev-parse --short ${{ inputs.ref }})"
4443
4544
- name: Run npm publish
4645
run: npm publish --provenance

0 commit comments

Comments
 (0)