diff --git a/lib/index.js b/lib/index.js index 1d968bc..36cf7cb 100755 --- a/lib/index.js +++ b/lib/index.js @@ -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: "", diff --git a/lib/index.js.map b/lib/index.js.map index 1d968bc..36cf7cb 100755 --- a/lib/index.js.map +++ b/lib/index.js.map @@ -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: "", diff --git a/package.json b/package.json index 749e2c6..0606275 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/index.ts b/src/index.ts index 1f081df..3b95508 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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: "",