Remove hyphen in version
This commit is contained in:
parent
028a40ee8c
commit
77df9b57f8
@ -33,7 +33,7 @@ plugin_getlatestversion() {
|
||||
echo "Error in Github API"
|
||||
return 1
|
||||
fi
|
||||
local -r GITHUBVERSION=${GITHUBTAGNAME//[[:alpha:]]/}
|
||||
local -r GITHUBVERSION=${GITHUBTAGNAME//[[:alpha:]-]/}
|
||||
if [ "${GITHUBVERSION}" == "" ]; then
|
||||
echo "Error in Github API"
|
||||
return 1
|
||||
@ -58,7 +58,7 @@ plugin_update() {
|
||||
echo "Error in Github API"
|
||||
return 1
|
||||
fi
|
||||
local -r GITHUBVERSION=${GITHUBTAGNAME//[[:alpha:]]/}
|
||||
local -r GITHUBVERSION=${GITHUBTAGNAME//[[:alpha:]-]/}
|
||||
if [ "${GITHUBVERSION}" == "" ]; then
|
||||
echo "Error in Github API"
|
||||
return 1
|
||||
|
@ -33,7 +33,7 @@ plugin_getlatestversion() {
|
||||
echo "Error in Github API"
|
||||
return 1
|
||||
fi
|
||||
local -r GITHUBVERSION=${GITHUBTAGNAME//[[:alpha:]]/}
|
||||
local -r GITHUBVERSION=${GITHUBTAGNAME//[[:alpha:]-]/}
|
||||
if [ "${GITHUBVERSION}" == "" ]; then
|
||||
echo "Error in Github API"
|
||||
return 1
|
||||
@ -58,7 +58,7 @@ plugin_update() {
|
||||
echo "Error in Github API"
|
||||
return 1
|
||||
fi
|
||||
local -r GITHUBVERSION=${GITHUBTAGNAME//[[:alpha:]]/}
|
||||
local -r GITHUBVERSION=${GITHUBTAGNAME//[[:alpha:]-]/}
|
||||
if [ "${GITHUBVERSION}" == "" ]; then
|
||||
echo "Error in Github API"
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user