Fix the unstable build

Looks like the updateRef method doesn't use the `refs/` prefix on the ref name.
This commit is contained in:
Quentin Gliech
2025-01-22 17:01:25 +01:00
parent fe2772e228
commit c63a4d016f
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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);