fix: Updated check to use != in daily.sh (#4916)

This commit is contained in:
Neil Lathwood
2016-11-01 17:57:18 +00:00
committed by Daniel Preussker
parent a251e81be5
commit 126f82843e

View File

@@ -49,7 +49,7 @@ if [ -z "$arg" ]; then
old_ver=$(git describe --exact-match --tags $(git log -n1 --pretty='%h'))
status_run 'Updating to latest release' 'git fetch --tags && git checkout $(git describe --tags $(git rev-list --tags --max-count=1))'
new_ver=$(git describe --exact-match --tags $(git log -n1 --pretty='%h'))
if [ "$old_ver" -ne "$new_ver" ]; then
if [ "$old_ver" != "$new_ver" ]; then
status_run "Updated from $old_ver to $new_ver" ''
fi
fi