This commit is contained in:
garronej 2021-12-01 22:47:13 +01:00
parent 2e38b39b5a
commit 30ebebd7e8
2 changed files with 5 additions and 2 deletions

View file

@ -32,7 +32,9 @@ export async function action(
core.debug(JSON.stringify(params));
const { owner, repo, branch, github_token } = params;
const { owner, repo, github_token } = params;
const branch = params.branch.split("/").reverse()[0];
const to_version = await getPackageJsonVersion({ owner, repo, branch });