Skip to content

Commit 11af681

Browse files
author
Zihlu Wang
authored
Merge pull request #58 from onixbyte/feature/migration-to-central-publisher-portal
refactor: migrate to Central Publisher Portal Closes #57
2 parents 4f7f58b + fe9b47f commit 11af681

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/github-packages-publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,11 @@ jobs:
6969

7070
- name: Publish to Maven Central
7171
run: ./gradlew publish
72+
73+
- name: Create Deployment on Central Publisher Portal
74+
run: |
75+
curl --fail -X 'POST' \
76+
'https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.onixbyte?publishing_type=user_managed' \
77+
-H 'accept: */*' \
78+
-H 'Authorization: Bearer ${{ secrets.MAVEN_PORTAL_TOKEN }}' \
79+
-d ''

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
#
1717

18-
artefactVersion=2.1.0
18+
artefactVersion=2.1.2
1919
projectUrl=https://onixbyte.com/JDevKit
2020
projectGithubUrl=https://github.com/OnixByte/JDevKit
2121
licenseName=The Apache License, Version 2.0

0 commit comments

Comments
 (0)