echo gogs versions

This commit is contained in:
Bob Mottram 2017-04-12 16:31:22 +01:00
parent fbd98fe640
commit fdc1a4f8bf
1 changed files with 2 additions and 0 deletions

View File

@ -141,6 +141,8 @@ function upgrade_gogs {
fi fi
CURR_GOGS_VERSION=$(get_completion_param "gogs version") CURR_GOGS_VERSION=$(get_completion_param "gogs version")
echo "gogs current version: ${CURR_GOGS_VERSION}"
echo "gogs app version: ${GOGS_VERSION}"
if [[ "${CURR_GOGS_VERSION}" == "${GOGS_VERSION}" ]]; then if [[ "${CURR_GOGS_VERSION}" == "${GOGS_VERSION}" ]]; then
return return
fi fi