File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Prepare Next Development Iteration
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ nextVersion :
7+ description : Version number of the next iteration
8+ required : true
9+
10+ jobs :
11+ Next-Iteration-Job :
12+ name : Next Iteration Job
13+ runs-on : github-ubuntu-latest-s
14+ permissions :
15+ pull-requests : write
16+ contents : write
17+
18+ steps :
19+
20+ - name : Checkout Sources
21+ uses : actions/checkout@v4
22+
23+ - name : Update Version Number
24+ env :
25+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26+ NEXT_VERSION : ${{ inputs.nextVersion }}
27+ run : |
28+ git config user.name "${GITHUB_ACTOR}"
29+ git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
30+ git checkout -b gh-action/next-iteration
31+ mvn versions:set -DgenerateBackupPoms=false -DnewVersion="${NEXT_VERSION}"
32+ git commit -m 'Prepare next development iteration' -a
33+ git push --set-upstream origin gh-action/next-iteration
34+ gh pr create -B master --title 'Prepare next development iteration' --body ''
You can’t perform that action at this time.
0 commit comments