summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-22 03:40:49 -0600
committerJeff Carr <[email protected]>2025-02-22 03:40:49 -0600
commit0a1cb978e85dabed2e8feba2181e9627c7ba7ab0 (patch)
tree8ada28288eeba4bc8b67d5e08d49f1ed6d01a9e8
parent3ff6dae849f0f27d3b80282bbc4b7094176e8b2d (diff)
allow building just changed packagesv0.23.61
-rw-r--r--argv.go1
-rw-r--r--findNext.go6
2 files changed, 6 insertions, 1 deletions
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("")
}