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 1515 required : true
1616 phase :
1717 description : ' Pre or post release phase'
18- type : string # valid values are 'pre' or 'post'
18+ type : string # valid values are 'pre' or 'post'
1919 required : true
2020
2121env :
8282 if : inputs.phase == 'post'
8383 uses : ./.github/workflows/maven-goal
8484 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
8686
8787 - name : Push the ${{ inputs.phase }} release branch
8888 run : |
Original file line number Diff line number Diff line change 1212 description : ' The version to release (e.g. 1.2.3). This workflow will automatically perform the required version bumps'
1313 required : true
1414
15+ permissions :
16+ contents : read
17+
1518concurrency :
1619 group : ${{ github.workflow }}
1720
1821jobs :
1922 pre-release :
2023 name : " Bump versions and create PR"
2124 uses : ./.github/workflows/pre-post-release.yml
25+ permissions :
26+ contents : write
2227 with :
2328 ref : ${{ inputs.ref }}
2429 version : ${{ inputs.version }}
Original file line number Diff line number Diff line change 1919permissions :
2020 contents : read
2121
22-
2322concurrency :
2423 group : ${{ github.workflow }}
2524
25+ env :
26+ RELEASE_VERSION : ${{ inputs.version }}
27+
2628jobs :
2729 validate-tag :
2830 runs-on : ubuntu-latest
8890 needs :
8991 - release
9092 uses : ./.github/workflows/pre-post-release.yml
91- if : inputs.dry_run == ' false'
93+ if : inputs.dry_run == false
9294 with :
9395 ref : ${{ inputs.ref }}
9496 version : ${{ inputs.version }}
You can’t perform that action at this time.
0 commit comments