Skip to content

Commit 37a5e40

Browse files
committed
sync with Maven Central
1 parent 9b19fbe commit 37a5e40

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ jobs:
7070
env:
7171
CTP_BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
7272
CTP_BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
73+
CTP_OSS_USER: ${{ secrets.OSS_USER }}
74+
CTP_OSS_SECRET: ${{ secrets.OSS_SECRET }}
7375
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
7476

7577
- name: Create GH Release

build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,18 @@ subprojects { project ->
191191
vcsUrl = scmHttpsUrl
192192
publicDownloadNumbers = true
193193

194+
version {
195+
name = version
196+
vcsTag = version
197+
gpg {
198+
sign = true
199+
}
200+
mavenCentralSync {
201+
sync = true
202+
user = System.getenv('CTP_OSS_USER')
203+
password = System.getenv('CTP_OSS_SECRET')
204+
}
205+
}
194206
}
195207
}
196208

0 commit comments

Comments
 (0)