[Update] Show commits on update check

master
andryyy 2020-10-09 11:04:42 +02:00
parent 72542f1d50
commit f28d9ff7a6
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 1 additions and 0 deletions

View File

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