From 0a1111391baa78025077cfec55aeb4c1145356f9 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 11 May 2013 15:53:59 +0100 Subject: [PATCH] build: Add 'make maintainer-tag' rule for tagging HEAD with current version. --- Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.am b/Makefile.am index 264521833..175d9c839 100644 --- a/Makefile.am +++ b/Makefile.am @@ -422,6 +422,11 @@ build-test-guests: print-subdirs: @echo $(SUBDIRS) +# Tag HEAD with current version (only for maintainer). + +maintainer-tag: + git tag -a $(VERSION) -m "Version $(VERSION) (development)" -f + # Provide help on common Makefile targets. help: