fixed bug in check_datechapril_update (#5090)
This commit is contained in:
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…
Reference in New Issue
Block a user