Explorar o código

[Update] Show commits on update check

andryyy %!s(int64=5) %!d(string=hai) anos
pai
achega
f28d9ff7a6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      update.sh

+ 1 - 0
update.sh

@@ -124,6 +124,7 @@ while (($#)); do
       fi
       if [[ -z $(git log HEAD --pretty=format:"%H" | grep "${LATEST_REV}") ]]; then
         echo "Updated code is available."
+        git log --date=short --pretty=format:"%ad - %s" $(git rev-parse --short HEAD)..origin/master
         exit 0
       else
         echo "No updates available."