fix: Makefile agent-bsd Pfad korrigiert, install.sh ins Release-ZIP aufgenommen
This commit is contained in:
parent
138a43e69b
commit
0e56b518b0
11
Makefile
11
Makefile
@ -20,7 +20,7 @@ backend:
|
||||
|
||||
agent:
|
||||
@echo "==> Building Agent (freebsd/amd64)..."
|
||||
cd agent && GOOS=freebsd GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-X main.Version=$(VERSION)" -o ../$(AGENT_BIN) .
|
||||
cd agent-bsd && GOOS=freebsd GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-X main.Version=$(VERSION)" -o ../$(AGENT_BIN) .
|
||||
@echo "==> $(AGENT_BIN) erstellt"
|
||||
|
||||
agent-linux:
|
||||
@ -42,11 +42,12 @@ updater-linux:
|
||||
release: agent agent-linux updater-freebsd updater-linux
|
||||
@echo "==> Creating release bundles v$(VERSION)..."
|
||||
@mkdir -p build/release
|
||||
@# FreeBSD Bundle (Agent + Updater)
|
||||
@cd build && zip -j release/rmm-freebsd-$(VERSION).zip rmm-agent rmm-updater-freebsd
|
||||
@# FreeBSD Bundle (Agent + Updater + install.sh)
|
||||
@cp opnsense-plugin/install.sh build/install.sh
|
||||
@cd build && zip -j release/rmm-freebsd-$(VERSION).zip rmm-agent rmm-updater-freebsd install.sh
|
||||
@echo "==> build/release/rmm-freebsd-$(VERSION).zip erstellt"
|
||||
@# Linux Bundle (Agent + Updater)
|
||||
@cd build && zip -j release/rmm-linux-$(VERSION).zip rmm-agent-linux rmm-updater-linux
|
||||
@# Linux Bundle (Agent + Updater + install.sh)
|
||||
@cd build && zip -j release/rmm-linux-$(VERSION).zip rmm-agent-linux rmm-updater-linux install.sh
|
||||
@echo "==> build/release/rmm-linux-$(VERSION).zip erstellt"
|
||||
@echo ""
|
||||
@echo "Release v$(VERSION) fertig:"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user