File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 16
16
description : ' Use bomber'
17
17
required : false
18
18
type : boolean
19
- # # TODO: do not disable bomber by default (https://github.com/devops-kung-fu/bomber/issues/174)
20
- default : false
19
+ default : true
21
20
useOSV :
22
21
description : ' Use osv-scanner'
23
22
required : false
85
84
echo '{"username":"'`echo ${{secrets.TB_LICENSE}} | cut -d / -f1`'","proKey":"'`echo ${{secrets.TB_LICENSE}} | cut -d / -f2`'"}' > ~/.vaadin/proKey
86
85
name: Install proKey
87
86
- run : |
87
+ ## TODO: do not disable bomber by default (https://github.com/devops-kung-fu/bomber/issues/174)
88
88
[ -z "${{github.event.inputs.useBomber}}" -o false = "${{github.event.inputs.useBomber}}" ] && A="$A --disable-bomber"
89
- [ -z "${{github.event.inputs.useOSV}}" -o false = "${{github.event.inputs.useOSV}}" ] && A="$A --disable-osv-scan"
90
- [ -z "${{github.event.inputs.useOWASP}}" -o false = "${{github.event.inputs.useOWASP}}" ] && A="$A --disable-owasp"
89
+ [ false = "${{github.event.inputs.useOSV}}" ] && A="$A --disable-osv-scan"
90
+ [ false = "${{github.event.inputs.useOWASP}}" ] && A="$A --disable-owasp"
91
91
[ true = "${{github.event.inputs.useFullOWASP}}" ] && A="$A --enable-full-owasp"
92
92
[ true = "${{github.event.inputs.useSnapshots}}" ] && A="$A --useSnapshots"
93
93
V="${{ github.event.inputs.version || github.event.release.tag_name }}"
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ function sortReleases(releases) {
243
243
}
244
244
245
245
async function computeLastVersions ( release ) {
246
- const releases = ( await run ( `git tag` , { debug : false } ) ) . stdout . split ( '\n' ) . filter ( l => / ^ 2 [ 4 3 ] \. [ 0 3 ] / . test ( l ) ) ;
246
+ const releases = ( await run ( `git tag` , { debug : false } ) ) . stdout . split ( '\n' ) . filter ( l => / ^ [ 2 - 9 ] [ 3 - 9 ] \. \d / . test ( l ) ) ;
247
247
const minor = release . replace ( / ^ ( \d + \. \d + ) .* $ / , '$1' ) ;
248
248
let sorted = sortReleases ( [ release , ...releases ] ) ;
249
249
const lastPatch = sorted [ sorted . indexOf ( release ) + 1 ] ;
You can’t perform that action at this time.
0 commit comments