File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 6262 env :
6363 BINTRAY_USER : ${{ secrets.BINTRAY_USER }}
6464 BINTRAY_PASS : ${{ secrets.BINTRAY_PASSWORD }}
65+ OSS_USER_TOKEN_KEY : ${{ secrets.OSS_USER_TOKEN_KEY }}
66+ OSS_USER_TOKEN_PASS : ${{ secrets.OSS_USER_TOKEN_PASS }}
6567 run : bash github-build.sh
66- # - name: Commit release tag and next version
67- # uses: stefanzweifel/git-auto-commit-action@v4
68- # with:
69- # push_options: '--follow-tags'
Original file line number Diff line number Diff line change @@ -171,8 +171,12 @@ subprojects {
171171 userOrg = ' graphql-java-kickstart'
172172 version {
173173 name = project. version
174+ gpg {
175+ sign = true
176+ }
174177 mavenCentralSync {
175- close = ' 1'
178+ user = System . env. OSS_USER_TOKEN_KEY ?: project. findProperty(' OSS_USER_TOKEN_KEY' ) ?: ' '
179+ password = System . env. OSS_USER_TOKEN_PASS ?: project. findProperty(' OSS_USER_TOKEN_PASS' ) ?: ' '
176180 }
177181 }
178182 }
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ removeSnapshots() {
2525commitRelease () {
2626 local APP_VERSION=$( getVersion)
2727 git commit -a -m " Update version for release"
28- # git tag -a "v${APP_VERSION}" -m "Tag release version"
28+ git tag -a " v${APP_VERSION} " -m " Tag release version"
2929}
3030
3131bumpVersion () {
@@ -58,7 +58,7 @@ git config --global user.name "GitHub Actions"
5858echo " Deploying release to Bintray"
5959removeSnapshots
6060
61- ./gradlew clean assemble # && ./gradlew bintrayUpload -x check --info
61+ ./gradlew clean assemble && ./gradlew bintrayUpload -x check --info
6262
6363commitRelease
6464bumpVersion
Original file line number Diff line number Diff line change 1- version =9.3.2 -SNAPSHOT
1+ version =10.0.0 -SNAPSHOT
22group = com.graphql-java-kickstart
33
44PROJECT_NAME = graphql-java-servlet
You can’t perform that action at this time.
0 commit comments