summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-10-27 16:09:49 +0300
committerTimo Teräs <timo.teras@iki.fi>2017-10-27 16:13:27 +0300
commit9db204eb58778b290cceb534816f29072ad9dcb2 (patch)
tree0da399c19bf9698ff4adad32741239e9989735a0
parentd5677d3ca0fff0536b199c1869a91789209c7b64 (diff)
downloadapk-tools-9db204eb58778b290cceb534816f29072ad9dcb2.tar.gz
apk-tools-9db204eb58778b290cceb534816f29072ad9dcb2.tar.bz2
apk-tools-9db204eb58778b290cceb534816f29072ad9dcb2.tar.xz
apk-tools-9db204eb58778b290cceb534816f29072ad9dcb2.zip
build: add 'make tag'
(cherry picked from commit 7cdeaa6a2e1c53a9aa074e6f738252fd632d0937)
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 31a1f31..5284eb7 100644
--- a/Makefile
+++ b/Makefile
@@ -41,3 +41,7 @@ check test: FORCE
static:
$(Q)$(MAKE) STATIC=y
+
+tag: check
+ git commit . -m "apk-tools-$(VERSION)"
+ git tag -s v$(VERSION) -m "apk-tools-$(VERSION)"