File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 15
15
required : true
16
16
phase :
17
17
description : ' Pre or post release phase'
18
- type : string # valid values are 'pre' or 'post'
18
+ type : string # valid values are 'pre' or 'post'
19
19
required : true
20
20
21
21
env :
82
82
if : inputs.phase == 'post'
83
83
uses : ./.github/workflows/maven-goal
84
84
with :
85
- command : ./mvnw -V versions:set -DprocessAllModules=true -DgenerateBackupPoms=false -nextSnapshot =true
85
+ command : ./mvnw -V versions:set -DprocessAllModules=true -DgenerateBackupPoms=false -DnextSnapshot =true
86
86
87
87
- name : Push the ${{ inputs.phase }} release branch
88
88
run : |
Original file line number Diff line number Diff line change 12
12
description : ' The version to release (e.g. 1.2.3). This workflow will automatically perform the required version bumps'
13
13
required : true
14
14
15
+ permissions :
16
+ contents : read
17
+
15
18
concurrency :
16
19
group : ${{ github.workflow }}
17
20
18
21
jobs :
19
22
pre-release :
20
23
name : " Bump versions and create PR"
21
24
uses : ./.github/workflows/pre-post-release.yml
25
+ permissions :
26
+ contents : write
22
27
with :
23
28
ref : ${{ inputs.ref }}
24
29
version : ${{ inputs.version }}
Original file line number Diff line number Diff line change 19
19
permissions :
20
20
contents : read
21
21
22
-
23
22
concurrency :
24
23
group : ${{ github.workflow }}
25
24
25
+ env :
26
+ RELEASE_VERSION : ${{ inputs.version }}
27
+
26
28
jobs :
27
29
validate-tag :
28
30
runs-on : ubuntu-latest
88
90
needs :
89
91
- release
90
92
uses : ./.github/workflows/pre-post-release.yml
91
- if : inputs.dry_run == ' false'
93
+ if : inputs.dry_run == false
92
94
with :
93
95
ref : ${{ inputs.ref }}
94
96
version : ${{ inputs.version }}
You can’t perform that action at this time.
0 commit comments