1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

CICD: GoReleaser version (#2737)

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
Jeffrey Cafferata
2024-01-02 21:14:35 +01:00
committed by GitHub
parent 8ed137aff5
commit 17da0bc69f
9 changed files with 19 additions and 94 deletions

View File

@ -25,11 +25,6 @@ const (
var commands = []*cli.Command{}
// These are set by/for goreleaser
var (
version = "dev"
)
func cmd(cat string, c *cli.Command) bool {
c.Category = cat
commands = append(commands, c)
@ -52,7 +47,7 @@ func Run(v string) int {
app.Version = version
app.Name = "dnscontrol"
app.HideVersion = true
app.Usage = "dnscontrol is a compiler and DSL for managing dns zones"
app.Usage = "DNSControl is a compiler and DSL for managing dns zones"
app.Flags = []cli.Flag{
&cli.BoolFlag{
Name: "v",