Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e4eeaf0

Browse files
committedOct 19, 2023
remove "v" prefix everywhere, this way we are still semver compliant
we are using "v" only for the github tag
1 parent 0875c3c commit e4eeaf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Taskfile.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ vars:
363363
TIMESTAMP_SHORT:
364364
sh: echo "{{now | date "20060102"}}"
365365
TAG:
366-
sh: echo "$(git tag --points-at=HEAD 2> /dev/null | head -n1)"
366+
sh: echo "$(git tag --points-at=HEAD 2> /dev/null | head -n1 | sed 's/v//')"
367367
VERSION: "{{if .NIGHTLY}}nightly-{{.TIMESTAMP_SHORT}}{{else if .TAG}}{{.TAG}}{{else}}{{.PACKAGE_NAME_PREFIX}}git-snapshot{{end}}"
368368
CONFIGURATION_PACKAGE: "github.com/arduino/arduino-cli/version"
369369
LDFLAGS: >-

0 commit comments

Comments
 (0)
Please sign in to comment.