diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index 3393541d804..fc95cc6e635 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -1,7 +1,11 @@ name: Release PR on: - push: + workflow_run: + workflows: + - Release + types: + - completed branches: - main schedule: @@ -19,6 +23,7 @@ concurrency: jobs: prepare: name: Prepare stable release PR + if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' runs-on: ubuntu-latest timeout-minutes: 10 permissions: @@ -51,6 +56,9 @@ jobs: - --filter=@t3tools/scripts... - --filter=@t3tools/oxlint-plugin-t3code... + - name: Fetch release tags + run: git fetch --force --tags origin + - id: release_meta name: Resolve stable release metadata shell: bash diff --git a/FORK.md b/FORK.md index 465d07ed3dc..3ce56a76cf3 100644 --- a/FORK.md +++ b/FORK.md @@ -12,6 +12,7 @@ This repository is a fork of `pingdotgg/t3code`. Keep this file focused on fork ### Release And CI - Fork workflows create/update a daily stable release PR while main-branch pushes produce nightly releases. +- Release PR preparation runs after release publication so tag-based version resolution sees the latest release. - Release build jobs skip relay client tracing config because the relay config job is disabled. - Release builds publish updater metadata against the fork repository. - Fork stable release versions are committed through release PRs before release artifacts are built and tagged.