From 8541b2f9472bb2287888073e26d9294ffde4aca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Sat, 14 Apr 2018 01:27:30 +0200 Subject: [PATCH] aps: Add Makefile for sequencing multiple profiles --- access-points/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 access-points/Makefile diff --git a/access-points/Makefile b/access-points/Makefile new file mode 100644 index 0000000..708892b --- /dev/null +++ b/access-points/Makefile @@ -0,0 +1,20 @@ +all: its + +export IMAGEBUILDER_URL = http://downloads.lede-project.org/releases/17.01.4/targets/ar71xx/generic/lede-imagebuilder-17.01.4-ar71xx-generic.Linux-x86_64.tar.xz + +its: + ./build-image.sh control/tl-wr841-v10 + ./build-image.sh control/ubnt-unifiac-lite + +DATE = $(shell date +'%Y%m%d') +VERSION = v0.$(DATE) + +release: tag all release-images + +tag: + git tag -f access-points/v0.$(DATE) + +release-images: + git add images/$(VERSION)/*.image-manifest + git annex add images/$(VERSION) + git commit -m "aps: Release $(VERSION)"