Skip to content

Commit a139f2d

Browse files
author
Julien Ruaux
committed
ci: Added next dev version
1 parent 6b705e3 commit a139f2d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,13 @@ jobs:
101101
uses: peaceiris/actions-gh-pages@v3
102102
with:
103103
github_token: ${{ secrets.GIT_ACCESS_TOKEN }}
104-
publish_dir: ./target/generated-docs
104+
publish_dir: ./target/generated-docs
105+
106+
- name: Commit next development version
107+
run: |
108+
./mvnw build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}-SNAPSHOT
109+
git add pom.xml
110+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
111+
git config --global user.name "GitHub Action"
112+
git commit -a -m "build: Bump for next development cycle"
113+
git push origin ${{ github.event.inputs.ref }}

0 commit comments

Comments
 (0)