mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Add GoReleaser configuration
This commit is contained in:
@@ -32,6 +32,12 @@ const banner = `
|
||||
|/ (_______)(______/ \_______) \_/ |/ )_)(_______/
|
||||
`
|
||||
|
||||
var (
|
||||
version = "dev"
|
||||
commit = "none"
|
||||
date = "unknown"
|
||||
)
|
||||
|
||||
func main() {
|
||||
log.SetFormatter(&log.TextFormatter{
|
||||
TimestampFormat: time.RFC3339,
|
||||
@@ -61,6 +67,12 @@ func main() {
|
||||
log.Info(banner)
|
||||
}
|
||||
|
||||
log.WithFields(log.Fields{
|
||||
"version": version,
|
||||
"commit": commit,
|
||||
"date": date,
|
||||
}).Info("running podsync")
|
||||
|
||||
// Load TOML file
|
||||
log.Debugf("loading configuration %q", opts.ConfigPath)
|
||||
cfg, err := config.LoadConfig(opts.ConfigPath)
|
||||
|
||||
Reference in New Issue
Block a user