From a52d615915b145be3345ee51e0fa63605096ecee 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 --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..708892b --- /dev/null +++ b/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)"