Skip to content

Commit 76ced4b

Browse files
committed
ci: update publish workflow to trigger on version tags instead of master branch
1 parent c1f6716 commit 76ced4b

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
@@ -2,8 +2,8 @@ name: Publish to pub.dev and Create Release
22

33
on:
44
push:
5-
branches:
6-
- master
5+
tags:
6+
- "v[0-9]+.[0-9]+.[0-9]+*"
77

88
jobs:
99
publish-and-release:

0 commit comments

Comments
 (0)