From 658054614e9afcbc1692e3635c3eaae591b8c9c5 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Tue, 6 Nov 2007 15:51:58 +0100 Subject: Check source tree before tagging --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index a5183d9..ea9532a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,6 +22,9 @@ endif tag: test -d "$(top_srcdir)/.git" + cd "$(top_srcdir)" && git status + @echo "Do you really want to tag this as rel-$(PACKAGE_VERSION)? Enter to continue, Ctrl-C to abort." + @read cd "$(top_srcdir)" && git tag "rel-$(PACKAGE_VERSION)" UPLOAD_DIR = upload-dir -- cgit