diff options
| author | Jeff Carr <[email protected]> | 2025-10-03 02:57:36 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-03 02:57:36 -0500 |
| commit | af388f137769fcee7aacac0b69ee20e47a996c71 (patch) | |
| tree | ad08e4a3532cc2c40f75637e0015ffb71a09d354 /debian.go | |
| parent | bdb6a5570525ae59f21a277f50e5a2dcd86e9dd0 (diff) | |
force always uses ~/incoming
Diffstat (limited to 'debian.go')
| -rw-r--r-- | debian.go | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -89,6 +89,12 @@ func buildDeb() { } func getOutdir(repo *gitpb.Repo) string { + if me.forge.Config.IsPrivate(repo.GetGoPath()) { + return "/home/jcarr/incoming-private" + } + if argv.Force { + return "/home/jcarr/incoming" + } if repo.GetLastTag() != repo.GetMasterVersion() { return "/home/jcarr/incoming-devel" } @@ -101,8 +107,5 @@ func getOutdir(repo *gitpb.Repo) string { return "/home/jcarr/incoming-devel" } - if me.forge.Config.IsPrivate(repo.GetGoPath()) { - return "/home/jcarr/incoming-private" - } return "/home/jcarr/incoming" } |
