Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
julianvilas committed Jun 1, 2024
1 parent 7b5d8da commit d40ca3e
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
// });
// }

0 comments on commit d40ca3e

Please sign in to comment.