diff --git a/CHANGELOG.md b/CHANGELOG.md index 24546b684d6c370176ed27c356b47bee8e863c94..116239c79e2b468bca6e510ad28097568d3d9830 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 cc6315667ce01604b06b156b7ea0c748868ea5ed..cbce966cc0bcb6b0261fd6b29adf6c5d3aaa1031 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 78a26cb02ae0c392dca17ab1f5c1948fae0c9525..1626e2af0bf186e935fc1f3f7607640643686ed3 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"