We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6195850 commit 0972123Copy full SHA for 0972123
.github/workflows/release.yml
@@ -27,6 +27,18 @@ jobs:
27
restore-keys: |
28
${{ runner.os }}-maven-
29
30
+ - name: Set release version
31
+ run: |
32
+ VERSION=${{ github.event.inputs.version }}
33
+ ./mvnw versions:set -DnewVersion=$VERSION
34
+ sed -i -e "s/^\:project-version\:\ .*/:project-version: $VERSION/g" README.adoc
35
+ git add pom.xml
36
+ git add README.adoc
37
+ git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
38
+ git config --global user.name "GitHub Action"
39
+ git commit -a -m "Releasing version $VERSION"
40
+ git push origin master
41
+
42
- name: Build
43
run: ./mvnw --no-transfer-progress -B --file pom.xml verify
44
0 commit comments