Skip to content

Commit f48e0b2

Browse files
committed
fix: validate version format in release tagging process
1 parent c2eba8b commit f48e0b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Taskfile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ tasks:
6969
- git tag "{{ .TAG }}"
7070
- git push origin "{{ .TAG }}"
7171
vars:
72-
TAG:
73-
sh: |
72+
TAG:
73+
sh: |
7474
TAGARG="{{.CLI_ARGS}}"
7575
if ! echo "$TAGARG" | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+.*$'; then
7676
echo "Error: Version must match pattern 'v[0-9]+.[0-9]+.[0-9]+*'"

0 commit comments

Comments
 (0)