allow building just changed packages

This commit is contained in:
Jeff Carr 2025-02-22 03:40:49 -06:00
parent 3ff6dae849
commit 0a1cb978e8
2 changed files with 6 additions and 1 deletions

View File

@ -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"`

View File

@ -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("")
}