Skip to content

Commit 44fa770

Browse files
committed
Fix publish workflow tag pattern - remove 'v' prefix
Pub.dev expects tags without 'v' prefix (1.0.0-alpha.1, not v1.0.0-alpha.1). Updated workflow trigger pattern to match semver without prefix. Error: Expected tag '1.0.0-alpha.1' but got 'refs/tags/v1.0.0-alpha.1'
1 parent 9a47397 commit 44fa770

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish to pub.dev
33
on:
44
push:
55
tags:
6-
- "v[0-9]+.[0-9]+.[0-9]+*"
6+
- "[0-9]+.[0-9]+.[0-9]+*"
77

88
jobs:
99
publish:

0 commit comments

Comments
 (0)