Browse Source

comment echoes

master
tykayn 8 months ago
committed by root
parent
commit
ba94f33eb7
  1. 4
      monitoring/check_mobilizonchaprilorg_update

4
monitoring/check_mobilizonchaprilorg_update

@ -27,8 +27,8 @@ else
currentVersion=$(cd $LOCAL_REPO && git describe --exact-match --tags $(git log -n1 --pretty='%h') |cut -c 9-100 )
# le tag se nomme ainsi "chapril-1.0.2" donc pour comparer uniquement les numéros de version on enlève le début du nom
echo "current version: $currentVersion"
echo "last version: $lastVersion"
# echo "current version: $currentVersion"
# echo "last version: $lastVersion"
if [ "$currentVersion" = "$lastVersion" ]; then
echo "OK"
result=0

Loading…
Cancel
Save