From d6f8f5da78eccdfe5eca61795ebc15f5ce9d4080 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 28 Sep 2017 23:10:01 +0200 Subject: prepare for a release --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 652524c..e3d13a9 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,10 @@ MD := markdown RM := rm SED := sed +# this is just a fallback in case you do not +# use git but downloaded a release tarball... +VERSION := 0.0.1 + all: README.html %.html: %.md @@ -22,3 +26,7 @@ install: clean: $(RM) -f README.html + +release: + git archive --format=tar.xz --prefix=pacman-offline-$(VERSION)/ $(VERSION) > pacman-offline-$(VERSION).tar.xz + gpg -ab pacman-offline-$(VERSION).tar.xz -- cgit v1.2.3-54-g00ecf