Skip to content

Commit

Permalink
updated script
Browse files Browse the repository at this point in the history
  • Loading branch information
strausr committed Sep 25, 2019
1 parent e2c7f35 commit 011700a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/update_version
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function popd
# ver_lte 1.2.4 1.2.3 && echo "yes" || echo "no" # no
function ver_lte
{
[[ "$1" == "`echo -e "$1\n$2" | sort -V | head -n1`" ]]
[[ $1 == "`echo -e "$1\n$2" | sort -V | head -n1`" ]]
}

# Extract the last entry or entry for a given version
Expand Down Expand Up @@ -226,7 +226,7 @@ function publish

[[ $? == 0 ]] && ${CMD_PREFIX} npm publish

[[ -z "${CMD_PREFIX}" ]] && echo "Remember to create a new release in github: ${$(git remote get-url origin)%.git}/releases"
[[ -z ${CMD_PREFIX} ]] && echo "Remember to create a new release in github: ${$(git remote get-url origin)%.git}/releases"

popd
}
Expand Down

0 comments on commit 011700a

Please sign in to comment.