diff --git a/.goreleaser.yml b/.goreleaser.yml index 6b5d110..2e69f87 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -13,9 +13,9 @@ builds: goarch: - amd64 ldflags: > - -X github.com/gocardless/pgreplay/cmd/main.Version={{.Version}} - -X github.com/gocardless/pgreplay/cmd/main.Commit={{.Commit}} - -X github.com/gocardless/pgreplay/cmd/main.Date={{.Date}} + -X main.Version={{.Version}} + -X main.Commit={{.Commit}} + -X main.Date={{.Date}} -a -installsuffix cgo env: diff --git a/VERSION b/VERSION index 6e8bf73..17e51c3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.0 +0.1.1 diff --git a/cmd/pgreplay/main.go b/cmd/pgreplay/main.go index fbf1e89..4a31b67 100644 --- a/cmd/pgreplay/main.go +++ b/cmd/pgreplay/main.go @@ -187,11 +187,10 @@ func main() { // Set by goreleaser var ( - Version = "dev" - Commit = "none" - Date = "unknown" - GoVersion = runtime.Version() - VersionStanza string + Version = "dev" + Commit = "none" + Date = "unknown" + GoVersion = runtime.Version() ) func versionStanza() string {