Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed tag arg evaluation expression when no tag present

  • Loading branch information...
commit 12d4b026b80638dca9f19e9581992189e9f6f96e 1 parent e12f51a
zznate authored
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"
Please sign in to comment.
Something went wrong with that request. Please try again.