From d40ca3eb746295ca0b0fb0dc1f9c731508fdddef Mon Sep 17 00:00:00 2001 From: Julian Vilas Date: Sat, 1 Jun 2024 23:50:02 +0200 Subject: [PATCH] fix --- .github/workflows/release.yaml | 44 +++++++++++++++++----------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bb86354..f2c23c4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -77,25 +77,25 @@ jobs: console.log(`Creating release ${tag} for ${repo}`); - # const releaseResponse = await github.rest.repos.createRelease({ - # owner: owner, - # repo: repoName, - # tag_name: tag, - # name: `Release ${tag.replace('refs/tags/', '')}`, - # }); - - # const { id: id } = releaseResponse.data; - - # globber = await glob.create('dist/*'); - # const files = await globber.glob(); - # for (const file of files) { - # const content = fs.readFileSync(file); - # const name = path.basename(file); - # await github.rest.repos.uploadReleaseAsset({ - # name: name, - # owner: owner, - # repo: repoName, - # release_id: id, - # data: content, - # }); - # } + // const releaseResponse = await github.rest.repos.createRelease({ + // owner: owner, + // repo: repoName, + // tag_name: tag, + // name: `Release ${tag.replace('refs/tags/', '')}`, + // }); + + // const { id: id } = releaseResponse.data; + + // globber = await glob.create('dist/*'); + // const files = await globber.glob(); + // for (const file of files) { + // const content = fs.readFileSync(file); + // const name = path.basename(file); + // await github.rest.repos.uploadReleaseAsset({ + // name: name, + // owner: owner, + // repo: repoName, + // release_id: id, + // data: content, + // }); + // }