This is an automated email from the ASF dual-hosted git repository. XiaoHongbo-Hope pushed a commit to branch release-0.2 in repository https://gitbox.apache.org/repos/asf/paimon-mosaic.git
commit da19a4f1106e843ca5c1c1c8c01df5d7230a1540 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 }}
