fixed bug in check_datechapril_update (#5090)

master
Didier Clermonté 2 years ago committed by root
parent 9b60eb5b46
commit 8cd4c5df38

@ -17,7 +17,7 @@ function usage() {
if [ "$#" -ne 0 ]; then
usage
else
lastVersion=$(curl -s https://framagit.org/api/v4/projects/16/releases | jshon -a -e name|cut -d '"' -f2|grep -v '[\^\(alpha\)]'|head -n 1)
lastVersion=$(curl -s https://framagit.org/api/v4/projects/16/releases | jshon -a -e name|cut -d '"' -f2|grep -v '[\^\(alpha\)]'|sort -rV|head -n 1)
currentVersion=$(cd /var/www/date.chapril.org && git branch | grep '*'|cut -c 11-100 )
#echo $currentVersion

Loading…
Cancel
Save