This is an automated email from the ASF dual-hosted git repository.
Yicong-Huang pushed a commit to branch release/v1.1.0-incubating
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to refs/heads/release/v1.1.0-incubating by
this push:
new a244f2abc2 ci(release): gate RC creation on strict-mode build of the
tagged commit (#4857)
a244f2abc2 is described below
commit a244f2abc25ea005c9cf7b29e511f4b9109d72a3
Author: Jiadong Bai <[email protected]>
AuthorDate: Sun May 3 10:17:35 2026 +0000
ci(release): gate RC creation on strict-mode build of the tagged commit
(#4857)
### What changes were proposed in this PR?
Add a \`build\` job at the top of \`create-release-candidate.yml\` that
calls the reusable \`build.yml\` with:
- \`checkout_ref: \${{ github.event.inputs.tag }}\` — build the tagged
commit (\`build.yml\` already accepts this input).
- \`mode: release\` — strict license-binary check, no
\`--ignore-transitive-version\` (the third mode added in #4734 alongside
\`PR\` and \`nightly\`).
\`create-rc\` now depends on \`build\` via \`needs: build\`. If the tag
doesn't compile or has license-binary drift, no RC tarball is produced
and nothing is signed/uploaded to ASF SVN.
### Any related issues, documentation, discussions?
Closes #4856.
### How was this PR tested?
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (claude-opus-4-7)
(backported from commit 31adc70ef900c2f721be5f3f5811c805d5a05f0a)
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
---
.github/workflows/create-release-candidate.yml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.github/workflows/create-release-candidate.yml
b/.github/workflows/create-release-candidate.yml
index b2e3434cfc..c4ba7cc9a7 100644
--- a/.github/workflows/create-release-candidate.yml
+++ b/.github/workflows/create-release-candidate.yml
@@ -36,7 +36,17 @@ on:
default: 'ghcr.io/apache'
jobs:
+ # Strict-mode build of the tagged commit. Gates RC artifact creation: if
+ # the tag doesn't compile or has license-binary drift, no RC is produced.
+ build:
+ uses: ./.github/workflows/build.yml
+ with:
+ checkout_ref: ${{ github.event.inputs.tag }}
+ mode: release
+ secrets: inherit
+
create-rc:
+ needs: build
runs-on: ubuntu-latest
outputs:
version: ${{ steps.vars.outputs.version }}