Fix the unstable build
Looks like the updateRef method doesn't use the `refs/` prefix on the ref name.
This commit is contained in:
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@@ -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);
|
||||
|
||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user