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 committed 2025-01-22 17:03:52 +01:00
1 parent 63cb2f7d51
commit 605a6dd802
2 files changed
+2 -2

No files matched your search

+1 -1
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);
+1 -1
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);