Skip to content

Commit

Permalink
fix version begin with v
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Oct 5, 2018
1 parent b7e7e4a commit ce4aee7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions release/install-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ extract(){
getVersion(){
if [[ -n "$VERSION" ]]; then
NEW_VER="$VERSION"
if [[ ${NEW_VER} != v* ]]; then
NEW_VER=v${NEW_VER}
fi
return 4
else
VER=`/usr/bin/v2ray/v2ray -version 2>/dev/null`
Expand Down

0 comments on commit ce4aee7

Please sign in to comment.