2015 shaares
45 private links
45 private links
en version "évoluée", gérant des versions type 13.8.5 par exemple :
var c=value.split('.'); //current version
var m='{$GITLAB.LASTVERSION}'.split('.'); //max allowed version
var isUnderVersion=0; //by default
var i= 0;
while( i < m.length || isUnderVersion == 1) {
if (c[i] < m[i]) {
isUnderVersion=1;
break;
}
i++;
}
return isUnderVersion