write commented json default config

This commit is contained in:
André Roth
2024-12-01 10:51:58 +01:00
parent 622072bd50
commit ea80f6d49c
8 changed files with 421 additions and 53 deletions
+4
View File
@@ -13,12 +13,16 @@ import (
//go:embed VERSION
var Version string
//go:embed debian/aptly.conf
var AptlyConf []byte
func main() {
if Version == "" {
Version = "unknown"
}
aptly.Version = Version
aptly.AptlyConf = AptlyConf
os.Exit(cmd.Run(cmd.RootCommand(), os.Args[1:], true))
}