Skip to content

Commit e85d8c9

Browse files
committed
update and publish only on git tag
1 parent 08d2877 commit e85d8c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
update-version-and-publish:
2323
needs: build
2424
runs-on: ubuntu-latest
25+
if: startsWith(github.ref, 'refs/tags/')
2526
steps:
2627
- uses: actions/checkout@v4
2728
- name: Update setup.py version

0 commit comments

Comments
 (0)