diff --git a/dist/index.js b/dist/index.js index 320703f..774e1e0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -31137,7 +31137,7 @@ function gather_information(debug = false, output = false) { if (debug) console.log("baseRef=" + baseRef); if (debug) console.log("headRef=" + headRef); // TODO support PR data - } else if (!git_is_tag) { + } else if (!r.git_is_tag) { // regular branches r.git_is_branch = true; } @@ -31169,7 +31169,7 @@ function gather_information(debug = false, output = false) { r.semver_build = parsed.build; r.semver_pre = parsed.pre; } - } else if (git_is_branch) { + } else if (r.git_is_branch) { const parsed = parseSemVer(r.git_current_branch); if (debug) console.log("semver=" + JSON.stringify(parsed)); diff --git a/src/gather.js b/src/gather.js index ce3a2c4..5644a6a 100644 --- a/src/gather.js +++ b/src/gather.js @@ -51,7 +51,7 @@ export function gather_information(debug = false, output = false) { if (debug) console.log("baseRef=" + baseRef); if (debug) console.log("headRef=" + headRef); // TODO support PR data - } else if (!git_is_tag) { + } else if (!r.git_is_tag) { // regular branches r.git_is_branch = true; } @@ -83,7 +83,7 @@ export function gather_information(debug = false, output = false) { r.semver_build = parsed.build; r.semver_pre = parsed.pre; } - } else if (git_is_branch) { + } else if (r.git_is_branch) { const parsed = semverParser.parseSemVer(r.git_current_branch); if (debug) console.log("semver=" + JSON.stringify(parsed));