fix(argo): invalid env ref for ArgoApplicationVersionUpdater

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-02-18 06:12:22 +08:00
parent 8916623c4c
commit 84ba39ff64

View File

@ -26,7 +26,7 @@ class SemanticReleasingExecutor {
steps.dir(steps.env.workroot) { steps.dir(steps.env.workroot) {
steps.withCredentials([steps.usernamePassword(credentialsId: credentialsId, passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USERNAME')]) { steps.withCredentials([steps.usernamePassword(credentialsId: credentialsId, passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USERNAME')]) {
steps.env.GIT_CREDENTIALS = "${steps.env.GIT_USERNAME}:${steps.env.GIT_PASSWORD}"- steps.env.GIT_CREDENTIALS = "${steps.env.GIT_USERNAME}:${steps.env.GIT_PASSWORD}"-
steps.env.GIT_BRANCH = branch steps.env.GIT_BRANCH = "${branch}"
steps.log.info("SemanticReleasingExecutor", "Installing semantic-release requirements...") steps.log.info("SemanticReleasingExecutor", "Installing semantic-release requirements...")
steps.sh "apt-get -y update && apt-get install -y --no-install-recommends git apt-transport-https ca-certificates curl wget gnupg" steps.sh "apt-get -y update && apt-get install -y --no-install-recommends git apt-transport-https ca-certificates curl wget gnupg"
steps.writeFile file: '.releaserc.json', text: steps.libraryResource(config) steps.writeFile file: '.releaserc.json', text: steps.libraryResource(config)