Skip to content

ci: add Maven Central release pipeline for tagged versions - #38

Merged
Zhoujie628 merged 1 commit into
project-openan:mainfrom
Zhoujie628:main
Sep 2, 2026
Merged

Zhoujie628 merged 1 commit into
project-openan:mainfrom
Zhoujie628:main

Conversation

@Zhoujie628

Copy link
Copy Markdown
Contributor

Closes #37

Summary

  • Add a tag-driven release workflow (v* tags): secrets validation, GPG key import, scoped verify, then deploy workflow-engine and spring-boot-starter to Maven Central via the Central Portal.
  • Artifact version derives from the tag (v0.1.0 -> 0.1.0); the pom keeps its internal development revision.
  • Fix portal plugin config to autoPublish=true + waitUntil=validated (the previous combination deadlocks unattended runs).
  • samples stays out of deployment (maven.deploy.skip; vendor jar unavailable on Central).
  • One-time setup (portal account, user token, GPG key, repository secrets, namespace claim) documented in the workflow header.

CI impact

None for existing pipelines: the workflow triggers only on v* tags, and the pom change only affects the deploy goal, which CI does not execute. Verified locally with the exact CI command (mvn clean verify -pl workflow-engine,spring-boot-starter -am): green.

Follow-up

First release additionally requires the dev.openan namespace claim on the Central Portal (openan.dev DNS TXT record), tracked separately.

Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
@Zhoujie628
Zhoujie628 requested a review from a team as a code owner September 2, 2026 03:16
@Zhoujie628
Zhoujie628 merged commit 9cb6010 into project-openan:main Sep 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: add Maven Central release pipeline for tagged versions

1 participant