Skip to content

Commit

Permalink
Fix the unstable build
Browse files Browse the repository at this point in the history
Looks like the updateRef method doesn't use the `refs/` prefix on the ref name.
  • Loading branch information
sandhose committed Jan 22, 2025
1 parent 63cb2f7 commit 605a6dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 605a6dd

Please sign in to comment.