[gir-repository] Update release-tag rule



commit 245203942753947bced1130e1ad1992a6af8f6f8
Author: Johan Dahlin <johan gnome org>
Date:   Mon Jun 22 16:46:54 2009 -0300

    Update release-tag rule

 Makefile.am |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 5632a9b..4e18085 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,13 +3,11 @@ ACLOCAL_AMFLAGS = -I m4
 SUBDIRS = gir
 
 release-tag:
-	@TRUNK=`svn info --xml|egrep ^"<url>"|cut -d\> -f2|cut -d\< -f1`; \
-	ROOT=`echo $$TRUNK|cut -d/ -f-5`; \
-	SVNVERSION=`echo $(VERSION)|sed s/\\\./_/g`;\
-	  echo "* Tagging $(VERSION)"; \
-          svn cp -m "Tag $(VERSION)" \
-              $$TRUNK \
-              $$ROOT/tags/GIR_REPOSITORY_$$SVNVERSION
+    @TAG=`echo $(VERSION)|sed s/\\\./_/g`; \
+      echo "* Tagging $(VERSION)"; \
+          git tag -s -m "Tag $$VERSION" -a \
+              GIR_REPOSITORY_$$TAG && \
+          git push --tags ssh://git.gnome.org/git/gir-repository
 
 upload-release: $(distdir).tar.gz
 	scp $(distdir).tar.gz gnome.org:



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