diff --git a/Taskfile.yml b/Taskfile.yml index ec9d1a1..c480e60 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -8,6 +8,7 @@ tasks: - sh: printf '%s' '{{.VERSION}}' | grep -Eq '^v[0-9]+\.[0-9]+\.[0-9]+$' msg: "VERSION is required and must be a semantic tag like v0.1.4 — task build VERSION=v0.1.4" cmds: + - rm ./bin/dirmd - go build -trimpath -ldflags "-s -w -X git.flo.fo/FLO/dirmd/internal/config.Version={{.VERSION}}" -o bin/dirmd . vet: