Skip to content

Commit

Permalink
Test release process to Maven Central via the GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
besidev committed Oct 30, 2024
1 parent a29119b commit 795aa2a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### 0.4.3 (TBA)

#### Improvements
* Configure publishing of the all JPro Platform modules to the Maven Central repository.

----------------------
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 795aa2a

Please sign in to comment.