Skip to content

Commit

Permalink
Housekeeping: version and release name template (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
lovromazgon authored Feb 7, 2023
1 parent 89c90a1 commit 1aaa6cd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1aaa6cd

Please sign in to comment.