From 588645c078d586f0c5eabc3730c6bf656f126f69 Mon Sep 17 00:00:00 2001 From: Miguel Martinez Date: Thu, 20 Nov 2025 21:14:08 +0100 Subject: [PATCH] fix: add missing CHAINLOOP_PROJECT_NAME env var to release workflow The Promote Chainloop Project Version step was missing the CHAINLOOP_PROJECT_NAME environment variable, causing the project version update command to fail during releases. This variable was defined in the init_attestation job but not propagated to the release job where it's needed. Signed-off-by: Miguel Martinez --- .github/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 55c757cac..5491054c1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -168,6 +168,8 @@ jobs: chainloop attestation add --name source-code --value /tmp/source-code.tar.gz --kind ARTIFACT --attestation-id ${{ env.ATTESTATION_ID }} - name: Promote Chainloop Project Version + env: + CHAINLOOP_PROJECT_NAME: "chainloop" run: | current_version="$(cat .chainloop.yml | awk '/^projectVersion:/ {print $2}')" # Rename the existing pre-release into the actual release name