kube-workflow
Advanced tools
Comparing version 1.18.5 to 1.18.6
{ | ||
"name": "kube-workflow-common", | ||
"version": "1.18.5", | ||
"version": "1.18.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
const isVersionTag = require("./is-version-tag") | ||
module.exports = (ref) => { | ||
module.exports = (ref = "") => { | ||
ref = ref.replace("refs/heads/", "").replace("refs/tags/", "") | ||
@@ -5,0 +5,0 @@ if (ref === "master" || ref === "main") { |
{ | ||
"name": "kube-workflow", | ||
"version": "1.18.5", | ||
"version": "1.18.6", | ||
"repository": "git@github.com:SocialGouv/kube-workflow.git", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
const logger = require("~common/utils/logger") | ||
const isVersionTag = require("~common/utils/is-version-tag") | ||
const getGitRef = require("~common/utils/get-git-ref") | ||
const getGitTags = require("~common/utils/get-git-tags") | ||
const getGitSha = require("~common/utils/get-git-sha") | ||
@@ -7,0 +5,0 @@ const getGitRepository = require("~common/utils/get-git-repository") |
@@ -23,6 +23,6 @@ const refEnv = require("~common/utils/ref-env") | ||
if (ref) { | ||
return refEnv() | ||
return refEnv(ref) | ||
} | ||
if (env.KW_GIT_REF) { | ||
return refEnv() | ||
return refEnv(env.KW_GIT_REF) | ||
} | ||
@@ -29,0 +29,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126467
2228