Skip to content

Commit 222fd79

Browse files
Publish a pre-release for scheduled operator builds
The createRelease job only ran on workflow_dispatch, so the daily scheduled builds — which produce the operator versions that actually get deployed — pushed a v<version> tag but published no GitHub Release. The uid2-deployment pre-deploy release gate (UID2-6767, #4068) hard-blocks any deploy/rollback of a non-SNAPSHOT version that has no published Release, so those scheduled-build versions would block on deploy. Run createRelease on scheduled builds too, reusing the existing pre-release logic. Scheduled runs are always release_type 'patch' (never Snapshot), and the public child build keeps force_release:'no', so no double-release. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7356649 commit 222fd79

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/publish-all-operators.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,13 @@ jobs:
151151
createRelease:
152152
name: Create Release
153153
runs-on: ubuntu-latest
154-
if: github.event_name == 'workflow_dispatch'
154+
# Also publish on scheduled builds, not just manual dispatch: the deployed
155+
# operator versions come from the daily scheduled run, so gating this on
156+
# workflow_dispatch left those versions tagged but with no GitHub Release.
157+
# The uid2-deployment pre-deploy release gate (UID2-6767) then hard-blocks
158+
# any deploy/rollback of such a version. Scheduled runs are always
159+
# release_type 'patch' (never Snapshot), so no Snapshot-release edge case.
160+
if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'
155161
needs: [start, buildPublic, buildGCP, buildAzure, buildAWS, buildAMI]
156162
steps:
157163
- name: Checkout repo

0 commit comments

Comments
 (0)