summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@litl.com>2009-02-11 16:53:51 -0200
committerJohan Dahlin <jdahlin@litl.com>2009-02-11 16:53:51 -0200
commit4c953a266bc74669995f28aaa34cae854a229283 (patch)
tree4a8fcf6683e586da00412902ab34e4304f27d1c6 /Makefile.am
parent1b5e689fe2fc105725fe71051c184e0f1c461223 (diff)
downloadgobject-introspection-4c953a266bc74669995f28aaa34cae854a229283.tar.gz
Update release-tag target
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index f663fcae..34ce4469 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -37,13 +37,11 @@ EXTRA_DIST = \
misc/pyflakes.py
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`;\
+ @TAG=`echo $(VERSION)|sed s/\\\./_/g`;\
echo "* Tagging $(VERSION)"; \
- svn cp -m "Tag $(VERSION)" \
- $$TRUNK \
- $$ROOT/tags/GOBJECT_INTROSPECTION_$$SVNVERSION
+ git tag -m "Tag $$VERSION" -a \
+ GOBJECT_INTROSPECTION_$$TAG && \
+ git push ssh://git.gnome.org/git/gobject-introspection
upload-release: $(distdir).tar.gz
scp $(distdir).tar.gz gnome.org: