This commit is contained in:
garronej 2021-12-01 14:47:26 +01:00
parent e8c1eb1074
commit efb5e941fc
2 changed files with 3 additions and 0 deletions

1
dist/index.js vendored
View file

@ -12394,6 +12394,7 @@ function action(_actionName, params, core) {
const is_upgraded_version = NpmModuleVersion_1.NpmModuleVersion.compare(to_version, from_version) === 1 ? "true" : "false";
core.debug(`Is version upgraded: ${is_upgraded_version}`);
const is_release_beta = is_upgraded_version === "false" ? "false" : to_version.betaPreRelease !== undefined ? "true" : "false";
core.debug(`Is release beta: ${is_release_beta}`);
return {
"to_version": NpmModuleVersion_1.NpmModuleVersion.stringify(to_version),
"from_version": NpmModuleVersion_1.NpmModuleVersion.stringify(from_version),