updated go-deb syntax
This commit is contained in:
parent
6e7049f4a8
commit
96f2795bf3
|
@ -39,12 +39,12 @@ func buildDeb() {
|
|||
}
|
||||
|
||||
if argv.Release {
|
||||
cmd = []string{"go-deb", "--release", "--auto", "--repo", check.GetGoPath(), "--dir", outdir}
|
||||
cmd = []string{"go-deb", "--release", "--auto", "--forge", check.GetGoPath(), "--dir", outdir}
|
||||
} else {
|
||||
cmd = []string{"go-deb", "--auto", "--no-gui", "--repo", check.GetGoPath(), "--dir", outdir}
|
||||
cmd = []string{"go-deb", "--auto", "--no-gui", "--forge", check.GetGoPath(), "--dir", outdir}
|
||||
}
|
||||
if me.forge.Config.IsPrivate(check.GetGoPath()) {
|
||||
cmd = []string{"go-deb", "--auto", "--repo", check.GetGoPath(), "--dir", outdir}
|
||||
cmd = []string{"go-deb", "--auto", "--forge", check.GetGoPath(), "--dir", outdir}
|
||||
}
|
||||
log.Info("build cmd:", cmd)
|
||||
if r := check.RunRealtime(cmd); r.Error != nil {
|
||||
|
|
Loading…
Reference in New Issue