Skip to content

Commit

Permalink
fix fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dlockhart committed Nov 27, 2020
1 parent 7bfaa93 commit 3df86a7
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/actions/incremental-release/create-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,19 @@ async function createRelease() {

console.log(`Creating release "${release}"...`)

const response = await octokit.repos.createRelease({

await octokit.repos.createRelease({
owner: owner,
repo: repo,
tag_name: release,
name: release
});
if (response.status !== 201) {
console.error('fail1');
console.error(response);
} else {
console.log('Success!');
}
console.log('Success!');

}

createRelease().then(() => {
process.exit(0);
}).catch((err) => {
console.error('fail2');
console.error(err);
process.exit(1);
});

0 comments on commit 3df86a7

Please sign in to comment.