Skip to content

Commit 950f9ca

Browse files
committed
[ci] Express correctly patch numbers smaller than 10
and refine command to obtain project items
1 parent 736c93e commit 950f9ca

1 file changed

Lines changed: 21 additions & 17 deletions

File tree

.github/workflows/projFixedIssues.yml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
options:
1010
- 6
1111
- 7
12+
- 8
1213
required: true
1314
default: 6
1415
minor:
@@ -24,29 +25,32 @@ on:
2425
- 40
2526
- 42
2627
- 44
28+
- 46
29+
- 48
2730
required: true
2831
default: 40
2932
patch:
3033
type: choice
3134
description: Patch
3235
options:
33-
- 00
34-
- 02
35-
- 04
36-
- 06
37-
- 08
38-
- 10
39-
- 12
40-
- 14
41-
- 16
42-
- 18
43-
- 20
44-
- 22
45-
- 24
46-
- 26
47-
- 28
36+
- "00"
37+
- "02"
38+
- "04"
39+
- "06"
40+
- "08"
41+
- "10"
42+
- "12"
43+
- "14"
44+
- "16"
45+
- "18"
46+
- "20"
47+
- "22"
48+
- "24"
49+
- "26"
50+
- "28"
51+
- "30"
4852
required: true
49-
default: 00
53+
default: "00"
5054

5155
jobs:
5256
check-tag:
@@ -55,4 +59,4 @@ jobs:
5559
- name: Generate list of closed issues for release notes
5660
env:
5761
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58-
run: gh project item-list `gh project list |grep ${{ inputs.major }}.${{ inputs.minor }}.${{ inputs.patch }}|awk '{print$1}` --owner root-project -L 8192|grep "Issue"|sort -t$'\t' -k3 -n -r| awk -v FS='\t' -v OFS='\t' '{print $3" * [[#"$3"](https://github.com/root-project/root/issues/"$3")] - "$2}'
62+
run: gh project item-list `gh project list --owner root-project |grep ${{ inputs.major }}.${{ inputs.minor }}.${{ inputs.patch }}|awk '{print $1}` --owner root-project -L 8192|grep "Issue"|sort -t$'\t' -k3 -n -r| awk -v FS='\t' -v OFS='\t' '{print " * [[#"$3"](https://github.com/root-project/root/issues/"$3")] - "$2}'

0 commit comments

Comments
 (0)