From c63a4d016fb09068002c609812971efa07bf474e Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Wed, 22 Jan 2025 17:01:25 +0100 Subject: [PATCH] Fix the unstable build Looks like the updateRef method doesn't use the `refs/` prefix on the ref name. --- .github/workflows/build.yaml | 2 +- .github/workflows/release.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ebf34a975..900575f77 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -375,7 +375,7 @@ jobs: owner, repo, force: true, - ref: 'refs/tags/unstable', + ref: 'tags/unstable', sha, }); console.log("Updated tag ref:", tag.data.url); diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5c6280bd0..2209755e0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -143,7 +143,7 @@ jobs: const tag = await github.rest.git.createRef({ owner, repo, - ref: `refs/tags/v${version}`, + ref: `tags/v${version}`, sha: tag, }); console.log("Created tag ref:", tag.data.url);