diff options
| author | Jeff Carr <[email protected]> | 2025-10-02 18:17:21 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-02 18:17:21 -0500 |
| commit | c93300a4b894e11aa2a0b133dfa0b623edf484d1 (patch) | |
| tree | 6e737353bc941fb47db8f1a91d3033ff2cc5d872 | |
| parent | 9abd674ecbdab30afd087bdd851a832e235dc1aa (diff) | |
don't init forge on upgrade
| -rw-r--r-- | Makefile | 13 | ||||
| -rw-r--r-- | main.go | 6 |
2 files changed, 18 insertions, 1 deletions
@@ -1,6 +1,7 @@ VERSION = $(shell git describe --tags) GUIVERSION = $(shell git describe --tags) -BUILDTIME = $(shell date +%Y.%m.%d) +# BUILDTIME = $(shell date +%Y.%m.%d) +BUILDTIME = $(shell date +%s) all: install @@ -65,3 +66,13 @@ debian-release-force: install debian-release-build-only: install wit-test debian --verbose --release + +# build packages no matter what +debian-force: + rm -f ~/incoming/*.deb + rm -f ~/incoming-devel/*.deb + wit-test debian --force --verbose + -mv ~/incoming-devel/*.deb ~/incoming/ + rm -f ~/incoming/go-gui*deb + do-aptly + rm -f ~/go/bin/forged # causes bash completion annoyances @@ -38,6 +38,12 @@ func main() { state = make(map[*gitpb.Repo]string) debnames = make(map[*gitpb.Repo]string) + if argv.Upgrade != nil { + me.machine, _ = zoopb.InitMachine() + doAptUpgrade() + okExit("") + } + me.forge = forgepb.Init() me.forge.Config.DumpENV() |
