summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Mills <1290234+prologic@users.noreply.github.com>2023-01-21 11:41:08 +1000
committerJames Mills <1290234+prologic@users.noreply.github.com>2023-01-21 11:41:08 +1000
commit77feb50073df5434956d0037a66eb829ad41a820 (patch)
tree81a20037d78abec74090925bf107e7e24d7c7594
parent27cd821c82f14b74bade1135dc86e53633c3fe1b (diff)
Fix GoReleaser config
-rw-r--r--.goreleaser.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml
index bc269dc..368823e 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -2,7 +2,7 @@
builds:
- id: tube
binary: tube
- main: .
+ main: ./cmd/tube/...
tags:
- embed
- static_build
@@ -10,6 +10,7 @@ builds:
-w
-X git.mills.io/prologic/tube.Version={{.Version}}
-X git.mills.io/prologic/tube.Commit={{.Commit}}
+ -X git.mills.io/prologic/tube.Build={{.Date}}
env:
- CGO_ENABLED=0
goos: