Skip to content

Commit 605a6dd

Browse files
committed
Fix the unstable build
Looks like the updateRef method doesn't use the `refs/` prefix on the ref name.
1 parent 63cb2f7 commit 605a6dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ jobs:
375375
owner,
376376
repo,
377377
force: true,
378-
ref: 'refs/tags/unstable',
378+
ref: 'tags/unstable',
379379
sha,
380380
});
381381
console.log("Updated tag ref:", tag.data.url);

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
const tag = await github.rest.git.createRef({
144144
owner,
145145
repo,
146-
ref: `refs/tags/v${version}`,
146+
ref: `tags/v${version}`,
147147
sha: tag,
148148
});
149149
console.log("Created tag ref:", tag.data.url);

0 commit comments

Comments
 (0)