This is an automated email from the ASF dual-hosted git repository.
XiaoHongbo-Hope pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-mosaic.git
The following commit(s) were added to refs/heads/main by this push:
new 4d40ded ci: set staging repo description for Java release (#61)
4d40ded is described below
commit 4d40dedc16a37dfc321b56a985ff7ef84920ca4e
Author: jianguotian <[email protected]>
AuthorDate: Thu Jun 11 21:22:25 2026 +0800
ci: set staging repo description for Java release (#61)
Co-authored-by: jianguotian <[email protected]>
---
.github/workflows/release-java.yml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/release-java.yml
b/.github/workflows/release-java.yml
index cd65905..ba8b42f 100644
--- a/.github/workflows/release-java.yml
+++ b/.github/workflows/release-java.yml
@@ -170,9 +170,17 @@ jobs:
- name: Deploy to Apache Nexus staging
working-directory: java
run: |
+ REF="${{ github.ref_name }}"
+ VERSION="${REF#v}"
+ if [[ "$VERSION" == *-rc* ]]; then
+ DESC="Apache Paimon Mosaic, version ${VERSION%-rc*}, release
candidate ${VERSION#*-rc}"
+ else
+ DESC="Apache Paimon Mosaic, version ${VERSION}"
+ fi
mvn clean deploy \
-Prelease \
- -DskipTests
+ -DskipTests \
+ -DstagingDescription="$DESC"
env:
MAVEN_USERNAME: ${{ secrets.NEXUS_STAGE_DEPLOYER_USER }}
MAVEN_PASSWORD: ${{ secrets.NEXUS_STAGE_DEPLOYER_PW }}