Compare commits
3
Commits
d7d94b26a0
...
b4e2b92104
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4e2b92104 | ||
|
|
2bd14fa514 | ||
|
|
1f434b1970 |
@@ -8,6 +8,7 @@ tasks:
|
|||||||
- sh: printf '%s' '{{.VERSION}}' | grep -Eq '^v[0-9]+\.[0-9]+\.[0-9]+$'
|
- 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"
|
msg: "VERSION is required and must be a semantic tag like v0.1.4 — task build VERSION=v0.1.4"
|
||||||
cmds:
|
cmds:
|
||||||
|
- rm ./bin/dirmd
|
||||||
- go build -trimpath -ldflags "-s -w -X git.flo.fo/FLO/dirmd/internal/config.Version={{.VERSION}}" -o bin/dirmd .
|
- go build -trimpath -ldflags "-s -w -X git.flo.fo/FLO/dirmd/internal/config.Version={{.VERSION}}" -o bin/dirmd .
|
||||||
|
|
||||||
vet:
|
vet:
|
||||||
|
|||||||
Reference in New Issue
Block a user