Skip to content

Commit

Permalink
Update version, fix tag_name when creating release.
Browse files Browse the repository at this point in the history
Signed-off-by: owent <[email protected]>
  • Loading branch information
owent committed Mar 27, 2023
1 parent a3eb4ba commit 0b497b3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20947,7 +20947,7 @@ async function run() {
await octokit.rest.repos.createRelease({
owner: target_owner,
repo: target_repo,
tag_name: release_name,
tag_name: release_tag_name,
target_commitish: action_github.context.sha,
name: release_name,
// body: "",
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "upload-to-github-release",
"version": "1.3.11",
"version": "1.3.12",
"description": "Github Action to deploy files to github release",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ async function run() {
await octokit.rest.repos.createRelease({
owner: target_owner,
repo: target_repo,
tag_name: release_name,
tag_name: release_tag_name,
target_commitish: action_github.context.sha,
name: release_name,
// body: "",
Expand Down

0 comments on commit 0b497b3

Please sign in to comment.