Permalink
Browse files

Tweaked to check args

  • Loading branch information...
afisk
afisk committed Aug 21, 2010
1 parent b5f8802 commit 57f1760fea6a94f50109a54d8b4c9d3dbb1e9bbd
Showing with 8 additions and 0 deletions.
  1. +8 −0 tagRelease.bash
View
@@ -1,4 +1,12 @@
#!/usr/bin/env bash
+ARGS=1 # One arg to script expected.
+
+if [ $# -ne "$ARGS" ]
+then
+ echo "Must include the version number"
+ exit 1
+fi
+
RELEASE_VERSION=$1
svn copy "http://svn.littleshoot.org/svn/littleproxy/trunk" "http://svn.littleshoot.org/svn/littleproxy/tags/littleproxy-${RELEASE_VERSION}" -m "Tag for LittleProxy release ${RELEASE_VERSION}"

0 comments on commit 57f1760

Please sign in to comment.