diff --git a/.github/workflows/github-packages-publish.yml b/.github/workflows/github-packages-publish.yml index 1032b73..4d32dd7 100644 --- a/.github/workflows/github-packages-publish.yml +++ b/.github/workflows/github-packages-publish.yml @@ -69,3 +69,11 @@ jobs: - name: Publish to Maven Central run: ./gradlew publish + + - name: Create Deployment on Central Publisher Portal + run: | + curl --fail -X 'POST' \ + 'https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.onixbyte?publishing_type=user_managed' \ + -H 'accept: */*' \ + -H 'Authorization: Bearer ${{ secrets.MAVEN_PORTAL_TOKEN }}' \ + -d '' diff --git a/gradle.properties b/gradle.properties index ac0191f..afc190a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,7 +15,7 @@ # limitations under the License. # -artefactVersion=2.1.0 +artefactVersion=2.1.2 projectUrl=https://onixbyte.com/JDevKit projectGithubUrl=https://github.com/OnixByte/JDevKit licenseName=The Apache License, Version 2.0