Revision: 436
          http://vde.svn.sourceforge.net/vde/?rev=436&view=rev
Author:   shammash
Date:     2010-07-25 18:21:51 +0000 (Sun, 25 Jul 2010)

Log Message:
-----------
Rework release tag check

Signed-off-by: Luca Bigliardi <shamm...@artha.org>

Modified Paths:
--------------
    trunk/vde-2/Makefile.am

Modified: trunk/vde-2/Makefile.am
===================================================================
--- trunk/vde-2/Makefile.am     2010-07-25 18:13:18 UTC (rev 435)
+++ trunk/vde-2/Makefile.am     2010-07-25 18:21:51 UTC (rev 436)
@@ -50,10 +50,8 @@
          echo "Once you're done you can 'touch release_ready' to proceed"; 
exit 1; }
 
 release_tag:
-# tag the release
-       svn ls $(tag_url) 1>/dev/null && { \
-         echo "release $(PACKAGE_VERSION) already tagged, stopping"; exit 1; }
-       svn copy $(trunk_url) $(tag_url)
+# check if release tag exists, othewise tag the release
+       svn ls $(tag_url) 1>/dev/null || svn copy $(trunk_url) $(tag_url)
 
 release: release_steps release_tag release_checksums
        reldir=`mktemp -d -t vde.XXXXXX`/$(PACKAGE_VERSION); \


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
vde-users mailing list
vde-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vde-users

Reply via email to