Skip to content

Commit c30148c

Browse files
taskfile: when not tag are present add v0.0.0- prefix
1 parent 6b62f5c commit c30148c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

DistTasks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,3 +264,5 @@ tasks:
264264
--build-arg GO_BINARY={{ .GO_BINARY }} \
265265
--output=./dist \
266266
-f debian/Dockerfile .
267+
vars:
268+
VERSION: "{{if .TAG}}{{.VERSION}}{{else}}v0.0.0-{{.VERSION}}{{end}}"

0 commit comments

Comments
 (0)