Test logging

This commit is contained in:
Bob Mottram 2017-04-12 17:35:06 +01:00
parent bf4563b1ae
commit 942205d352
1 changed files with 2 additions and 2 deletions

View File

@ -143,8 +143,8 @@ function upgrade_gogs {
echo "2" > ~/build/testlog.txt echo "2" > ~/build/testlog.txt
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 current version: ${CURR_GOGS_VERSION}" >> ~/build/testlog.txt
echo "gogs app version: ${GOGS_VERSION}" echo "gogs app version: ${GOGS_VERSION}" >> ~/build/testlog.txt
if [[ "${CURR_GOGS_VERSION}" == "${GOGS_VERSION}" ]]; then if [[ "${CURR_GOGS_VERSION}" == "${GOGS_VERSION}" ]]; then
return return
fi fi