Skip to content

Commit 5a87be1

Browse files
committed
push tag only
1 parent 568b0f9 commit 5a87be1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ jobs:
6868
- name: Publish to npm
6969
run: npm publish --tag latest --dry-run
7070

71-
- name: Push commit and tag
72-
run: git push origin main --follow-tags
71+
- name: Push tag
72+
run: git push origin v${{ inputs.version }}
7373

7474
# - name: Create GitHub Release
7575
# run: gh release create v${{ inputs.version }} --title "v${{ inputs.version }}" --generate-notes

0 commit comments

Comments
 (0)