diff --git a/.ci/Jenkinsfile b/.ci/Jenkinsfile index c5bf92df46..5b08843bc4 100644 --- a/.ci/Jenkinsfile +++ b/.ci/Jenkinsfile @@ -74,9 +74,11 @@ pipeline { tag pattern: '(v)?\\d+\\.\\d+\\.\\d+', comparator: 'REGEXP' } steps { - withCredentials([string(credentialsId: "${GITHUB_TOKEN_CREDENTIALS}", variable: 'GITHUB_TOKEN')]) { - dir("${BASE_DIR}") { - sh 'curl -sL https://git.io/goreleaser | bash' + withMageEnv(){ + withCredentials([string(credentialsId: "${GITHUB_TOKEN_CREDENTIALS}", variable: 'GITHUB_TOKEN')]) { + dir("${BASE_DIR}") { + sh 'curl -sL https://git.io/goreleaser | bash' + } } } } diff --git a/.go-version b/.go-version new file mode 100644 index 0000000000..278b85f97c --- /dev/null +++ b/.go-version @@ -0,0 +1 @@ +1.16.6 \ No newline at end of file