Release
KissConfig releases are manual through .github/workflows/release.yml.
Do not create tags, GitHub releases, or Maven Central publications outside the intentional release process.
Current State
- Latest GitHub release:
0.1.0 - Maven Central status: release workflow completed, but public availability is not claimed until Central Portal publication and indexing are confirmed
- Publishing path: Sonatype Central Portal through
org.sonatype.central:central-publishing-maven-plugin
Before Future Releases Or Central Publication Completion
- Push the repository to
https://github.com/arthurhoch/kiss-config. - Confirm CI passes on
main. - In GitHub repository settings, enable GitHub Pages with GitHub Actions as the source.
- Create or access a Sonatype Central Portal account.
- Configure and verify the namespace
io.github.arthurhochin Central Portal. - Generate a Central Portal user token.
- Create or choose a GPG signing key.
- Add GitHub Actions secrets:
MAVEN_CENTRAL_USERNAMEMAVEN_CENTRAL_PASSWORDGPG_PRIVATE_KEYGPG_PASSPHRASE
Local Preflight
Run:
mvn -B clean verify
mvn -B javadoc:javadoc
mvn -B dependency:list -DincludeScope=compile
The compile-scope dependency list must be none.
Check:
- README examples still match public API.
- Docs do not claim Maven Central availability before publication.
CHANGELOG.mdcontains 0.1.0 notes.pom.xmlmetadata is complete.- Git worktree contains no generated
target/files or private local files.
Release Workflow
Use GitHub Actions:
- Open the
Releaseworkflow. - Run
workflow_dispatch. - Enter a non-SNAPSHOT version such as
0.1.0.
The workflow:
- validates that the version is not a SNAPSHOT
- checks out the repository
- configures JDK 17, Maven Central credentials, and GPG signing
- sets the Maven project version to the requested release version
- runs
mvn -B clean verify - deploys signed artifacts through the Central Portal Maven plugin
- commits the release version
- creates tag
v{version} - creates a GitHub Release
The Central Portal plugin is configured with autoPublish=false. Maintainers should review the deployment in Central Portal and publish it there unless project policy changes.
After The Release
After 0.1.0 is published and validated:
- Wait for Maven Central indexing.
- Confirm the artifact page is visible in Central Portal and Maven Central search.
- Update README installation language if needed.
- Change
mainto the next development-SNAPSHOTversion. - Add a new changelog section for the next development cycle.
- Confirm Pages published docs and Javadocs.
GitHub Pages
The Pages workflow publishes Markdown files from docs/ and generated Javadocs under /javadocs/.
Manual setup is required once in repository settings:
- Open Settings.
- Open Pages.
- Select GitHub Actions as the source.
- Push to
mainor run the Pages workflow manually.
Legacy OSSRH Note
This project uses Central Portal-oriented setup. Do not follow old OSSRH-only instructions unless a maintainer explicitly creates a legacy release path and documents why.