15
0
Fork 0
Browse Source

Merge branch 'master' of ssh://forge.april.org:222/Chapril/mobilizon.chapril.org-tools

master
tykayn 2 years ago committed by Baptiste Lemoine
parent
commit
b449a80dfa
  1. 0
      monitoring/.gitkeep
  2. 4
      monitoring/check_version.sh

0
monitoring/.gitkeep

4
monitoring/check_version.sh

@ -26,8 +26,8 @@ else
lastVersion=$(curl -s https://framagit.org/api/v4/projects/$FRAMAGIT_PROJECT_ID/releases | jshon -a -e name|cut -d '"' -f2|grep -v '[\^\(alpha\)]'|head -n 1)
currentVersion=$(cd $LOCAL_REPO && git branch | grep '*'|cut -c 3-100 )
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