aboutsummaryrefslogtreecommitdiff
path: root/pkg/version/version.go
blob: e8c5f128dc3a0a97f11b35ed348cc54027960617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package version

// this is set by the linker during build
var (
	version = "devel"
	commit  = ""
)

// Version returns the current feed2imap-go version
func Version() string {
	return version
}

// FullVersion returns the version including the commit hash
func FullVersion() string {
	return "Version " + version + " Commit: " + commit
}
git/commit/.goreleaser.yml?h=v0.5.2&id=e190f87680344fe795f8fde42e71c8d0b56c914d&follow=1'>Make changelog a part of the release pipeline (untested)René 'Necoro' Neumann2-0/+12