Add maintainer-tag rule for tagging HEAD with current version.
[qemu-sanity-check.git] / Makefile.am
index b3b5f3a..bab12cc 100644 (file)
@@ -68,3 +68,8 @@ TESTS = \
        test-bad-kernel \
        test-bad-qemu \
        test-bad-userspace
+
+# Tag HEAD with current version (maintainer only).
+
+maintainer-tag:
+       git tag -a v$(VERSION) -m "Version $(VERSION)" -f