From 88fc9dcc351911824ab4d35a353968a7cbf5b838 Mon Sep 17 00:00:00 2001 From: Darius Cepulis Date: Wed, 1 Apr 2026 11:31:20 -0500 Subject: [PATCH] fix(build): auto-stamp changelog version from release manifest (#1179) Co-authored-by: Claude Opus 4.6 (1M context) --- .github/workflows/release-pr.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index ea563684..7659164c 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -16,11 +16,17 @@ jobs: with: fetch-depth: 0 + - name: Read version from manifest + id: version + run: | + VERSION=$(jq -r '."packages/core"' .github/release-please/.release-please-manifest.json) + echo "tag=@videojs/core@${VERSION}" >> "$GITHUB_OUTPUT" + - name: Update root changelog uses: orhun/git-cliff-action@v4 with: config: cliff.toml - args: --verbose + args: --verbose --tag ${{ steps.version.outputs.tag }} env: OUTPUT: CHANGELOG.md GITHUB_REPO: ${{ github.repository }}