From 264ddfe7807beae738792f3c12acfbce1ab72e9e Mon Sep 17 00:00:00 2001 From: ManAnRuck Date: Tue, 10 Oct 2023 08:52:24 +0200 Subject: [PATCH] Update release-please.yaml --- .github/workflows/release-please.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index ce6fa9e1a..3d71c4473 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -28,7 +28,7 @@ jobs: console.log(`latest release: ${JSON.stringify(latestRelease.data)}`); execSync('git pull --tags -q'); execSync(`git reset --hard ${latestRelease.data.tag_name}`); - const sha = execSync('git rev-parse HEAD').toString(); + const sha = execSync('git rev-parse HEAD').toString().trim(); console.log(`sha: ${sha}`) return sha