Skip to content

Commit 110f69b

Browse files
committed
fixup! release: publish draft release to GitHub
1 parent 8009749 commit 110f69b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ jobs:
492492
493493
// Create the release
494494
var tagName = `v${version}`;
495-
var createdRelease = await github.repos.createRelease({
495+
var createdRelease = await github.rest.repos.createRelease({
496496
...releaseMetadata,
497497
draft: true,
498498
tag_name: tagName,
@@ -509,7 +509,7 @@ jobs:
509509
})
510510
.map(async (file) => {
511511
var filePath = path.join(directory, file);
512-
github.repos.uploadReleaseAsset({
512+
github.rest.repos.uploadReleaseAsset({
513513
...releaseMetadata,
514514
name: file,
515515
headers: {

0 commit comments

Comments
 (0)