From 649c0d7a923989f3276570196d89df2272562dee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lovro=20Ma=C5=BEgon?= Date: Mon, 6 Feb 2023 18:06:03 +0100 Subject: [PATCH 1/2] change version constant to (devel) --- spec.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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", From a3fd9b3c1cb800390ae0e95f08c4d8dff539d2a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lovro=20Ma=C5=BEgon?= Date: Mon, 6 Feb 2023 18:10:11 +0100 Subject: [PATCH 2/2] update release name template --- .goreleaser.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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