diff --git a/argv.go b/argv.go index 553e32c..5a0c935 100644 --- a/argv.go +++ b/argv.go @@ -13,6 +13,7 @@ type args struct { Minor bool `arg:"--minor" help:"increment minor verion numbers"` Protobuf bool `arg:"--protobuf" help:"increment protobuf repos"` Verbose bool `arg:"--verbose" help:"talk alot"` + Full bool `arg:"--full" help:"build every package"` Reason string `arg:"--reason" help:"tag message"` // DumpVersions bool `arg:"--dump-versions" help:"dump the versions file for go.wit.com"` Port int `arg:"--port" default:"9419" help:"do fun stuff with curl"` diff --git a/findNext.go b/findNext.go index 8fa6591..c920fd8 100644 --- a/findNext.go +++ b/findNext.go @@ -125,7 +125,11 @@ func findNext() bool { log.Info("cd", wit.GetFullPath()) os.Chdir(wit.GetFullPath()) shell.Exec([]string{"ls", "-l"}) - shell.Exec([]string{"make", "debian-release-force"}) + if argv.Full { + shell.Exec([]string{"make", "debian-release-force"}) + } else { + shell.Exec([]string{"make", "debian-release"}) + } } okExit("") }