File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 39
39
echo "Publishing Artifacts for $RELEASE_VERSION"
40
40
(set -x; ./gradlew -Pversion="${RELEASE_VERSION}" -Psigning.secretKeyRingFile="${GITHUB_WORKSPACE}/secring.gpg" publishToSonatype closeAndReleaseSonatypeStagingRepository --no-daemon)
41
41
echo "Publishing Documentation"
42
- ./gradlew asciidoctor
43
- - name : Bump patch versioin by one
42
+ ./gradlew asciidoctor -Pversion="${RELEASE_VERSION}"
43
+ - name : Bump patch version by one
44
44
uses : actions-ecosystem/action-bump-semver@v1
45
45
id : bump_semver
46
46
with :
@@ -52,12 +52,11 @@ jobs:
52
52
run : |
53
53
echo "Preparing next snapshot"
54
54
./gradlew snapshotVersion -Pversion="${NEXT_VERSION}"
55
- - name : Push next version snapshot
56
- run : |
57
- git config user.name "$GIT_USER_NAME"
58
- git config user.email "$GIT_USER_EMAIL"
59
- git commit -am "Bumped snapshot version"
60
- git push
55
+ - name : Commit & Push changes
56
+ uses : actions-js/push@master
57
+ with :
58
+ github_token : ${{ secrets.GITHUB_TOKEN }}
59
+ message : ' Set version to next SNAPSHOT'
61
60
- name : Export Gradle Properties
62
61
uses : micronaut-projects/github-actions/export-gradle-properties@master
63
62
- name : Publish to Github Pages
You can’t perform that action at this time.
0 commit comments