Some checks failed
Release Tag / release (push) Failing after 46s
- Introduced .goreleaser.yaml for automated release management. - Updated Makefile to utilize GoReleaser for building the jiggablend binary. - Added new workflows for release tagging and pull request checks in Gitea. - Updated dependencies in go.mod and go.sum, including new packages for versioning. - Enhanced .gitignore to exclude build artifacts in the dist directory.
17 lines
223 B
Go
17 lines
223 B
Go
// version/version.go
|
|
package version
|
|
|
|
import "time"
|
|
|
|
var Version string
|
|
var Date string
|
|
|
|
func init() {
|
|
if Version == "" {
|
|
Version = "0.0.0-dev"
|
|
}
|
|
if Date == "" {
|
|
Date = time.Now().Format("2006-01-02 15:04:05")
|
|
}
|
|
}
|