mirror of
https://github.com/garronej/ts-ci.git
synced 2025-11-30 21:43:05 +00:00
update build
This commit is contained in:
parent
5fa156a093
commit
2e38b39b5a
1 changed files with 1 additions and 1 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -12383,7 +12383,7 @@ function action(_actionName, params, core) {
|
||||||
const { owner, repo, branch, github_token } = params;
|
const { owner, repo, branch, github_token } = params;
|
||||||
const to_version = yield getPackageJsonVersion({ owner, repo, branch });
|
const to_version = yield getPackageJsonVersion({ owner, repo, branch });
|
||||||
if (to_version === undefined) {
|
if (to_version === undefined) {
|
||||||
throw new Error("No version in package.json on ${owner}/${repo}#${branch} (or repo is private)");
|
throw new Error(`No version in package.json on ${owner}/${repo}#${branch} (or repo is private)`);
|
||||||
}
|
}
|
||||||
core.debug(`Version on ${owner}/${repo}#${branch} is ${NpmModuleVersion_1.NpmModuleVersion.stringify(to_version)}`);
|
core.debug(`Version on ${owner}/${repo}#${branch} is ${NpmModuleVersion_1.NpmModuleVersion.stringify(to_version)}`);
|
||||||
const octokit = createOctokit_1.createOctokit({ github_token });
|
const octokit = createOctokit_1.createOctokit({ github_token });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue