File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -160,3 +160,11 @@ jobs:
160
160
if : github.event_name == 'release' && github.repository_owner == 'libgdx'
161
161
run : ./gradlew build publish -PRELEASE -Psigning.gnupg.keyId=${{ secrets.GPG_KEYID }} -Psigning.gnupg.passphrase=${{ secrets.GPG_PASSPHRASE }} -Psigning.gnupg.keyName=${{ secrets.GPG_KEYID }} -x test
162
162
163
+ - name : Trigger manual upload to Central Repository
164
+ if : github.event_name == 'release' && github.repository_owner == 'libgdx'
165
+ run : |
166
+ curl -X POST \
167
+ -H "Authorization: Bearer $(echo -n '${{ secrets.OSSRH_USERNAME }}:${{ secrets.OSSRH_PASSWORD }}' | base64)" \
168
+ -H "Content-Type: application/json" \
169
+ https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.badlogicgames
170
+
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ val isReleaseBuild: Boolean
12
12
get() = project.hasProperty(" RELEASE" )
13
13
14
14
val releaseRepositoryUrl: String
15
- get() = project.findProperty(" RELEASE_REPOSITORY_URL" )?.toString() ? : " https://ossrh-staging-api.central.sonatype.com/service/local/"
15
+ get() = project.findProperty(" RELEASE_REPOSITORY_URL" )?.toString() ? : " https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/ "
16
16
17
17
val snapshotRepositoryUrl: String
18
18
get() = project.findProperty(" SNAPSHOT_REPOSITORY_URL" )?.toString() ? : " https://central.sonatype.com/repository/maven-snapshots/"
You can’t perform that action at this time.
0 commit comments