From e2cb9cfc856ca19e8518b1a748386c4b2511e588 Mon Sep 17 00:00:00 2001 From: Clement Bois <clement.bois@orange.com> Date: Fri, 28 Mar 2025 15:38:57 +0100 Subject: [PATCH] fix: typo in glc_major_ver --- templates/gitlab-ci-golang.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gitlab-ci-golang.yml b/templates/gitlab-ci-golang.yml index d4788e9..b33cd25 100644 --- a/templates/gitlab-ci-golang.yml +++ b/templates/gitlab-ci-golang.yml @@ -720,7 +720,7 @@ go-ci-lint: - mkdir -p -m 777 reports # produce all reports at once - | - glc_ver_major=$(golangci-lint version | cut -d' ' -f4 | cut -d'.' -f1) + glc_major_ver=$(golangci-lint version | cut -d' ' -f4 | cut -d'.' -f1) if [[ "$glc_major_ver" == "1" ]] then golangci-lint run --out-format "colored-line-number:stdout,code-climate:reports/go-ci-lint.codeclimate.json,checkstyle:reports/go-ci-lint.checkstyle.xml" $GO_CI_LINT_ARGS -- GitLab