Remove "v" prefix from github tag
This commit is contained in:
parent
f52848491f
commit
625d6054c8
|
@ -51,7 +51,7 @@ EXAMPLES :
|
|||
${PROGNAME}
|
||||
|
||||
- Check Etherpad version from a specific location
|
||||
${PROGNAME} --directory /var/www/my_etherpad
|
||||
${PROGNAME} --directory /srv/www/my_etherpad
|
||||
|
||||
OPTIONS :
|
||||
--debug
|
||||
|
@ -148,9 +148,9 @@ main() { # {{{
|
|||
## }}}
|
||||
## Get latest version from project repository {{{
|
||||
### OR Exit with error message
|
||||
etherpad_latest_version=$("${PROGDIR}/releasetags" "${ETHERPAD_REPO_URL}" | head --lines=1 \
|
||||
etherpad_latest_version=$("${PROGDIR}/releasetags" "${ETHERPAD_REPO_URL}" | head --lines=1 | sed 's/v//' \
|
||||
|| error_message "Can't get latest Etherpad version from repository (${ETHERPAD_REPO_URL})." 02 )
|
||||
debug_message "main − Etherpad installed version : ${RED}${etherpad_latest_version}${COLOR_DEBUG} (from ${ETHERPAD_REPO_URL} project repository)."
|
||||
debug_message "main − Etherpad available version : ${RED}${etherpad_latest_version}${COLOR_DEBUG} (from ${ETHERPAD_REPO_URL} project repository)."
|
||||
## }}}
|
||||
|
||||
## If any of the two variables is empty {{{
|
||||
|
|
Loading…
Reference in New Issue