[Pgp-tools-commit] r253 - trunk
Peter Palfrader
weasel at costa.debian.org
Mon Sep 12 14:39:52 UTC 2005
Author: weasel
Date: 2005-09-12 14:39:49 +0000 (Mon, 12 Sep 2005)
New Revision: 253
Modified:
trunk/Makefile
Log:
Check if the tag already exists
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2005-09-12 14:33:04 UTC (rev 252)
+++ trunk/Makefile 2005-09-12 14:39:49 UTC (rev 253)
@@ -19,7 +19,13 @@
rm -rf $(TGZ_DIR)
tag-release:
+ if svn ls svn+ssh://svn.debian.org/svn/pgp-tools/tags/release-$(VERSION) >/dev/null 2>&1; then \
+ echo "Already exists." >&2; exit 1; \
+ fi
svn cp -m 'tagging release $(VERSION)' svn+ssh://svn.debian.org/svn/pgp-tools/trunk svn+ssh://svn.debian.org/svn/pgp-tools/tags/release-$(VERSION)
tag-debian-version:
+ if svn ls svn+ssh://svn.debian.org/svn/pgp-tools/tags/debian-version-$(DEBVERSION) >/dev/null 2>&1; then \
+ echo "Already exists." >&2; exit 1; \
+ fi
svn cp -m 'tagging debian version $(DEBVERSION)' svn+ssh://svn.debian.org/svn/pgp-tools/trunk svn+ssh://svn.debian.org/svn/pgp-tools/tags/debian-version-$(DEBVERSION)
More information about the Pgp-tools-commit
mailing list