[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.shmaster
parent
a6e694bd98
commit
ab4750680d
|
@ -123,7 +123,7 @@ while (($#)); do
|
||||||
exit 99
|
exit 99
|
||||||
fi
|
fi
|
||||||
if [[ -z $(git log HEAD --pretty=format:"%H" | grep "${LATEST_REV}") ]]; then
|
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
|
git log --date=short --pretty=format:"%ad - %s" $(git rev-parse --short HEAD)..origin/master
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue