pominal/version.go
Dan Anglin 0cd7dab556
ci: added release (semi)automation
- security: updated Golang version to 1.12.8 for CI builds
- added: configuration for build and release automation using GoReleaser
(https://goreleaser.com)
- (Releases will be semi-automatic for now due to the need of the access
token. When/if project specific access token is supported then I'll
complete the release stage of the pipeline.)
- added: version.go for printing out the versions
2019-08-14 01:10:28 +01:00

14 lines
227 B
Go

package main
import "fmt"
var (
commit string
date string
goversion string
version string
)
func Version() {
fmt.Printf("Version: %s\nCommit: %s\nGo Version: %s\nDate: %s", version, commit, goversion, date)
}