Skip to content

Commit 67532c9

Browse files
committed
(Github Action): Update tag pattern
Signed-off-by: Victor Otieno <[email protected]>
1 parent 6920989 commit 67532c9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ on:
44
push:
55
tags:
66
# must align with the tag-pattern configured on pub.dev
7-
- '[0-9]+.[0-9]+.[0-9]+' # tag-pattern on pub.dev: '{{version}}'
7+
# tag-pattern on pub.dev: 'v{{version}}'
8+
# where {{version}} is identical to what we have in pubspec.yaml
9+
- "[0-9]+.[0-9]+.[0-9]+"
810

911
jobs:
1012
publishing:
@@ -36,4 +38,3 @@ jobs:
3638
# If the package has errors, it won't upload.
3739
- name: Publish
3840
run: dart pub publish --force
39-

0 commit comments

Comments
 (0)