diff --git a/webinstall/cibuild.js b/webinstall/cibuild.js index 4a1111e..63e4b47 100644 --- a/webinstall/cibuild.js +++ b/webinstall/cibuild.js @@ -566,9 +566,17 @@ class PipelineInfo{ let type=bot.textContent; let val=botv.textContent; if (type && val){ - if (type != 'release' && type != 'tag'){ + if (type != 'release' && type != 'tag' && type != 'branch'){ val=type+val; } + if (type == 'branch'){ + let now=new Date(); + let m=now.getMonth()+1; + m=((m<10)?"0":"")+m; + let d=now.getDay(); + d=((d<10)?"0":"")+d; + val=val+now.getFullYear()+m+d; + } val=val.replace(/[:.]/g,'_'); val=val.replace(/[^a-zA-Z0-9_]*/g,''); if (val.length > 32){