From 844c01ae5f71caba2c11b1dec7d910a3f660d033 Mon Sep 17 00:00:00 2001 From: Matthias Hannig Date: Tue, 11 Apr 2017 10:22:06 +0200 Subject: [PATCH] added release build --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 98ac2de..fe864f3 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,14 @@ endif cp $(PROG)-linux-$(ARCH) DIST/opt/ecix/birdwatcher/bin/. +release: linux + + mkdir -p ../birdseye-static/birdwatcher-builds/$(APP_VERSION)/ + cp birdwatcher-linux-amd64 ../birdseye-static/birdwatcher-builds/$(APP_VERSION)/ + rm -f ../birdseye-static/birdwatcher-builds/latest + cd ../birdseye-static/birdwatcher-builds && ln -s $(APP_VERSION) latest + + rpm: dist # Clear tmp failed build (if any)