Permalink
Browse files

fixed tag arg evaluation expression when no tag present

  • Loading branch information...
1 parent e12f51a commit 12d4b026b80638dca9f19e9581992189e9f6f96e zznate committed Dec 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 release.sh
View
2 release.sh 100644 → 100755
@@ -30,7 +30,7 @@ echo Zipping
pushd releases
zip -Tr hector-$version.zip hector-$version/
popd
-if [ "$1" = "tag" ]; then
+if [[ $1 && "$1" = "tag" ]]; then
vstr="v$version"
echo "Dropping tag $vstr"
git tag -a $vstr -m "Tagged as $vstr from release script"

0 comments on commit 12d4b02

Please sign in to comment.