Skip to content

Commit

Permalink
Expand debug release script
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Apr 4, 2024
1 parent ae6c595 commit c8d3164
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,21 @@ jobs:
with:
script: |
async function run() {
const {data: tag} = await github.rest.git.getRef({
...context.repo,
ref: "tags/v2.0.1"
});
console.log(tag);
const sha = tag.object.sha;
console.log(sha);
const x = await github.rest.git.updateRef({
...context.repo,
ref: "v2",
sha: "v2.0.1",
sha: sha,
force: true
});
Expand Down

0 comments on commit c8d3164

Please sign in to comment.