From ea3fdda372182b2e4fb9d78fcd51dca755d0b749 Mon Sep 17 00:00:00 2001 From: Adriaan Knapen Date: Mon, 30 Mar 2026 13:33:15 +0100 Subject: [PATCH] fix: inject release version during binary build Set GH_ATTACH_BUILD_VERSION for the build step as well as the packaging step so the published binaries embed the computed semantic-release version. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad82326..f677dd9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,6 +63,8 @@ jobs: cache: npm - run: npm ci - run: npm run build + env: + GH_ATTACH_BUILD_VERSION: ${{ needs.next-version.outputs.version }} - run: npm run package env: GH_ATTACH_BUILD_VERSION: ${{ needs.next-version.outputs.version }}