Skip to content

Commit

Permalink
patch: dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ttyS0e committed Jun 13, 2024
1 parent 331a3e3 commit 75afafa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
const release = await github.repos.getReleaseByTag({
owner: context.repo.owner,
repo: context.repo.repo,
process.env.RELEASE_TAG
"v1.0.0"
});
// Upload the release asset
await github.repos.uploadReleaseAsset({
owner: context.repo.owner,
repo: context.repo.repo,
release_id: release.data.id,
name: "kong-plugin-myplugin-1-1.rockspec",
name: "kong-plugin-myplugin-" + process.env.RELEASE_VER + "-1.rockspec",
data: await fs.readFileSync("newfile.txt")
});

0 comments on commit 75afafa

Please sign in to comment.