We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef6d5e commit f736aaeCopy full SHA for f736aae
.github/workflows/ci.yml
@@ -77,12 +77,8 @@ jobs:
77
run: |
78
version=$(cat package.json | jq -r '.version')
79
TAG=v$version
80
- if git rev-parse "$TAG" >/dev/null 2>&1; then
81
- echo "tag exists";
82
- else
83
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
84
- pnpm publish || echo "already published"
85
- fi
+ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
+ pnpm publish || echo "already published"
86
env:
87
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
88
- name: create tag
0 commit comments