Skip to content

Commit d1983ae

Browse files
update publish readme
1 parent 255ec36 commit d1983ae

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,9 +646,14 @@ You can generate the documentation using your desired IDE or using's maven's jav
646646
647647
648648
## Publication
649-
Every time a new release is created, the CI/CD pipeline will execute and a new artifact will be released on Maven Central. **The pipeline updates the version automatically!**
650-
If you ever change the OSSRH login credentials, you'll need to also update the repository variables on Github.
651649
650+
Publishing to Maven Central is done via the **GitHub Actions `publish` workflow**, triggered **manually per tag**. It does not run automatically on release creation.
651+
652+
1. **Version the project** and create a **git tag** (e.g. `v1.1.6`), then push the tag.
653+
2. In the repo go to **Actions → Publish**, click **Run workflow**, enter the tag (e.g. `v1.1.6`), and run.
654+
3. The workflow runs tests and publishes to Maven Central.
655+
656+
If you change the OSSRH/Sonatype or signing credentials, update the repository **Secrets** on GitHub.
652657
653658
### Local setup for manual release
654659
In order to be able to publish to the Nexus repository from you local machine, you'll need to do the following step:

0 commit comments

Comments
 (0)