Skip to content

Commit

Permalink
Tweaked to check args
Browse files Browse the repository at this point in the history
  • Loading branch information
afisk committed Aug 21, 2010
1 parent b5f8802 commit 57f1760
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tagRelease.bash
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,12 @@
#!/usr/bin/env bash #!/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 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}" 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.