From a4fb3b492753d50c46e37807fd3922428b8edd55 Mon Sep 17 00:00:00 2001 From: Brad Anderson Date: Sun, 17 May 2026 10:53:15 -0400 Subject: [PATCH] chore(ci): annotate release runs with version Adds a notice annotation and step-summary line right after `changeset version` so the released version is visible at the top of the Actions run without drilling into step logs. Includes a `(dry run)` suffix when the workflow is dispatched with `dry-run=true`. --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4eb7381..cababa8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,16 @@ jobs: - name: Version packages run: npx changeset version + - name: Annotate release version + run: | + VERSION=$(node -p "require('./package.json').version") + SUFFIX="" + if [ "${{ inputs.dry-run }}" = "true" ]; then + SUFFIX=" (dry run)" + fi + echo "::notice title=Release version::v${VERSION}${SUFFIX}" + echo "## Release v${VERSION}${SUFFIX}" >> "$GITHUB_STEP_SUMMARY" + - name: Build run: bun run build