瀏覽代碼

[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
74k1n984ckmyp21v4cy 4 年之前
父節點
當前提交
ab4750680d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -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