Skip to content

Commit f736aae

Browse files
authored
just retry
1 parent 5ef6d5e commit f736aae

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,8 @@ jobs:
7777
run: |
7878
version=$(cat package.json | jq -r '.version')
7979
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
80+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
81+
pnpm publish || echo "already published"
8682
env:
8783
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
8884
- name: create tag

0 commit comments

Comments
 (0)