[Update] URL to update feed for available updates (#4109)

* URL to update feed for available updates

With this change, the URL to the update feed will be displayed in a new line if updates are available.

* Update update.sh
master
74k1n984ckmyp21v4cy 2021-06-01 12:09:34 +02:00 committed by GitHub
parent a6e694bd98
commit ab4750680d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ while (($#)); do
exit 99
fi
if [[ -z $(git log HEAD --pretty=format:"%H" | grep "${LATEST_REV}") ]]; then
echo "Updated code is available."
echo -e "Updated code is available.\nThe changes can be found here: https://github.com/mailcow/mailcow-dockerized/commits/master"
git log --date=short --pretty=format:"%ad - %s" $(git rev-parse --short HEAD)..origin/master
exit 0
else