Some checks failed
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
54 lines
1.7 KiB
YAML
54 lines
1.7 KiB
YAML
name: 'Release: Publish: Post-release'
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
track:
|
|
description: 'Release track acquired from determine-version-info. (e.g. stable, beta)'
|
|
required: true
|
|
type: string
|
|
version:
|
|
description: 'Release version acquired from determine-version-info. (e.g. 2.9.3, 1.123.23)'
|
|
required: true
|
|
type: string
|
|
bump:
|
|
description: 'Release bump size acquired from determine-version-info. (e.g. minor, patch)'
|
|
required: true
|
|
type: string
|
|
new_stable_version:
|
|
description: 'New stable version acquired from determine-version-info. (e.g. 2.9.3, null (on patch releases))'
|
|
required: true
|
|
type: string
|
|
release_type:
|
|
description: 'Release type acquired from determine-version-info. (stable or rc)'
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
push-new-release-to-channel:
|
|
name: Push new release to channel
|
|
if: inputs.release_type != 'rc'
|
|
uses: ./.github/workflows/release-push-to-channel.yml
|
|
secrets: inherit
|
|
with:
|
|
version: ${{ inputs.version }}
|
|
release-channel: ${{ inputs.track }}
|
|
|
|
promote-previous-beta-to-stable:
|
|
name: Promote previous beta to stable
|
|
if: |
|
|
inputs.release_type != 'rc' &&
|
|
inputs.bump == 'minor'
|
|
uses: ./.github/workflows/release-push-to-channel.yml
|
|
secrets: inherit
|
|
with:
|
|
version: ${{ inputs.new_stable_version }}
|
|
release-channel: stable
|
|
|
|
ensure-release-candidate-branches:
|
|
name: 'Ensure release candidate branches'
|
|
if: |
|
|
inputs.release_type != 'rc'
|
|
uses: ./.github/workflows/util-ensure-release-candidate-branches.yml
|
|
secrets: inherit
|