Skip to content

Commit 4aaf78d

Browse files
committed
publish only if tag pushed
1 parent 4eed651 commit 4aaf78d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,5 @@ jobs:
5959
# Publishing...
6060
- name: Publish to pub.dev
6161
run: flutter pub publish -f
62+
if: startsWith(github.ref, 'refs/tags/')
6263
working-directory: 'packages/${{ steps.parse.outputs.result }}'

0 commit comments

Comments
 (0)