From 66d2b995dcca7bb2575a71c5648f794687447573 Mon Sep 17 00:00:00 2001 From: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue, 23 Nov 2021 10:53:51 +0000 Subject: [PATCH] chore(release): 2.0.0 [skip ci] # [2.0.0](https://gitlab.com/to-be-continuous/golang/compare/1.3.0...2.0.0) (2021-11-23) ### Features * **build:** build target platform can be specified ([b068c40](https://gitlab.com/to-be-continuous/golang/commit/b068c40e5095bb69eb743832fb10e1cdb04d826a)) ### BREAKING CHANGES * **build:** changed `GO_BUILD_ARGS` to `GO_BUILD_FLAGS` variable and `GO_TEST_ARGS` to `GO_TEST_FLAGS` variable. See doc. --- CHANGELOG.md | 12 ++++++++++++ README.md | 2 +- templates/gitlab-ci-golang.yml | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24546b6..116239c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# [2.0.0](https://gitlab.com/to-be-continuous/golang/compare/1.3.0...2.0.0) (2021-11-23) + + +### Features + +* **build:** build target platform can be specified ([b068c40](https://gitlab.com/to-be-continuous/golang/commit/b068c40e5095bb69eb743832fb10e1cdb04d826a)) + + +### BREAKING CHANGES + +* **build:** changed `GO_BUILD_ARGS` to `GO_BUILD_FLAGS` variable and `GO_TEST_ARGS` to `GO_TEST_FLAGS` variable. See doc. + # [1.3.0](https://gitlab.com/to-be-continuous/golang/compare/1.2.2...1.3.0) (2021-11-21) diff --git a/README.md b/README.md index cc63156..cbce966 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ In order to include this template in your project, add the following to your `gi ```yaml include: - project: 'to-be-continuous/golang' - ref: '1.3.0' + ref: '2.0.0' file: '/templates/gitlab-ci-golang.yml' ``` diff --git a/templates/gitlab-ci-golang.yml b/templates/gitlab-ci-golang.yml index 78a26cb..1626e2a 100644 --- a/templates/gitlab-ci-golang.yml +++ b/templates/gitlab-ci-golang.yml @@ -268,7 +268,7 @@ stages: fi } - if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update golang "1.3.0"; fi + if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update golang "2.0.0"; fi unscope_variables # ENDSCRIPT @@ -279,7 +279,7 @@ stages: image: $GO_IMAGE services: - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master" - command: ["--service", "golang", "1.3.0" ] + command: ["--service", "golang", "2.0.0" ] variables: # The directory where 'go install' will install a command. GOBIN: "$CI_PROJECT_DIR/bin" -- GitLab