diff --git a/.goreleaser.yml b/.goreleaser.yml index 0f28183e..c35de795 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -11,12 +11,13 @@ builds: checksum: name_template: checksums.txt archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + - name_template: >- + {{ .ProjectName }}_ + {{- .Version }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} changelog: sort: asc use: github diff --git a/spec.go b/spec.go index 515c48c0..c65e2f61 100644 --- a/spec.go +++ b/spec.go @@ -19,10 +19,10 @@ import ( ) // version is set during the build process (i.e. the Makefile). -// It follows Go's convention for module version, where the version -// starts with the letter v, followed by a semantic version. -var version = "v0.3.0" +// Default version matches default from runtime/debug. +var version = "(devel)" +// Specification returns the Plugin's Specification. func Specification() sdk.Specification { return sdk.Specification{ Name: "postgres",