diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a9f7d5a5..0cd31f53 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,17 +2,27 @@ name: CI Release on: release: + types: [published] # Triggers when a release is published + workflow_dispatch: # Allows manual triggering of the workflow env: BRANCH_NAME: ${{github.ref_name}} TRUNK_BRANCH_NAME: 'main' + SANDEC_ARTIFACTORY_USERNAME: ${{secrets.SANDEC_ARTIFACTORY_USERNAME}} + SANDEC_ARTIFACTORY_PASSWORD: ${{secrets.SANDEC_ARTIFACTORY_PASSWORD}} + SANDEC_SIGNING_KEY_ID: ${{secrets.SANDEC_SIGNING_KEY_ID}} + SANDEC_SIGNING_SECRET_KEY: ${{secrets.SANDEC_SIGNING_SECRET_KEY}} + SANDEC_SIGNING_PASSWORD: ${{secrets.SANDEC_SIGNING_PASSWORD}} + SANDEC_SONATYPE_USERNAME: ${{secrets.SANDEC_SONATYPE_USERNAME}} + SANDEC_SONATYPE_PASSWORD: ${{secrets.SANDEC_SONATYPE_PASSWORD}} + MAVEN_CENTRAL_AUTH_TOKEN: ${{secrets.MAVEN_CENTRAL_AUTH_TOKEN}} MAVEN_CENTRAL_PUBLISHING_TYPE: 'USER_MANAGED' jobs: release: name: 'Release' - runs-on: ubuntu-24.04 - if: github.repository.owner == 'JPro-one' + runs-on: ubuntu-latest + if: github.repository_owner == 'JPro-one' steps: - name: Verify Branch if: env.BRANCH_NAME != env.TRUNK_BRANCH_NAME diff --git a/CHANGELOG.md b/CHANGELOG.md index 04da9338..3b945b38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### 0.4.3 (TBA) +#### Improvements * Configure publishing of the all JPro Platform modules to the Maven Central repository. ---------------------- diff --git a/gradle.properties b/gradle.properties index ae959f3d..f241af33 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -JPRO_PLATFORM_VERSION = 0.4.3-SNAPSHOT +JPRO_PLATFORM_VERSION = 0.4.3 JPRO_VERSION = 2024.3.3 JAVAFX_VERSION = 17.0.12