[gjs] Makefile: Fix prepare-release-tag



commit e90fa869d8a1363e48ce11bf195c06b4c36c03a4
Author: Colin Walters <walters verbum org>
Date:   Thu Mar 10 17:22:27 2011 -0500

    Makefile: Fix prepare-release-tag

 Makefile.am |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 38f9a74..b4814d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -132,10 +132,9 @@ install-exec-hook:
 include Makefile-test.am
 
 prepare-release-tag:
-	@TAG=`echo $(VERSION)|sed s/\\\./_/g`;\
-	  echo "git tag $(PACKAGE)_$$TAG"; \
-          git tag -m "Tag $$VERSION" -a \
-              $(PACKAGE)_$$TAG
+	TAGNAME=`echo $(PACKAGE) | tr - _ | tr a-z A-Z` \
+	TAGVER=`echo $(VERSION) | sed s/\\\./_/g`; \
+	  git tag -m "Tag $(VERSION)" -a "$$TAGNAME"_"$$TAGVER"
 
 prepare-minor-release: $(distdir).tar.bz2 prepare-release-tag
 	python $(top_srcdir)/scripts/verbump.py



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]