Skip to content

Commit 50b191c

Browse files
committed
chore: adjust name in pre release
1 parent 753336c commit 50b191c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/pre-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ jobs:
2525
run: |
2626
git_sha=$(git rev-parse --short HEAD)
2727
mv package.json /tmp/package.json
28-
jq --arg git_sha ${git_sha} 'del(.repository) | .version = .version + "-" + $git_sha' /tmp/package.json > package.json
28+
jq --arg git_sha ${git_sha} \
29+
'del(.repository)
30+
| .version = .version + "-" + $git_sha
31+
| .name = "@${{ github.repository_owner }}/" + .name' \
32+
/tmp/package.json > package.json
2933
3034
- run: npm publish
3135
env:

0 commit comments

Comments
 (0)