diff --git a/cmd/nomad-toast/goreleaser.yml b/cmd/nomad-toast/goreleaser.yml index 1bb659b..77f9e28 100644 --- a/cmd/nomad-toast/goreleaser.yml +++ b/cmd/nomad-toast/goreleaser.yml @@ -30,6 +30,7 @@ builds: # The default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}` # Date format is `2006-01-02_15:04:05` ldflags: -s -w -X main.Version={{.Version}} -X main.GitCommit={{.Commit}} -X main.BuildDate={{.Date}} -X main.GitBranch={{.Tag}} -X main.GitState={{.Tag}} -X main.GitSummary={{.Commit}} + main: ./cmd/nomad-toast/ archive: # You can change the name of the archive.