diff --git a/CHANGELOG.md b/CHANGELOG.md index 7efd1c131c7c8c96339d0002c4725510c3e5fab3..97a0cca5445d8acdb29d08d2849bc61130e69c51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.0.1](https://gitlab.com/to-be-continuous/sonar/compare/2.0.0...2.0.1) (2021-10-07) + + +### Bug Fixes + +* use master or main for production env ([4bfbfe5](https://gitlab.com/to-be-continuous/sonar/commit/4bfbfe596561f67ec522b96079074460d8d7362d)) + ## [2.0.0](https://gitlab.com/to-be-continuous/sonar/compare/1.3.2...2.0.0) (2021-09-08) ### Features diff --git a/README.md b/README.md index 7dc175efa0127191df703313f6d5f0e83743449f..63aaa2698bd6b442c76f71acd8b2262ad8ed8337 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ In order to include this template in your project, add the following to your `gi ```yaml include: - project: 'to-be-continuous/sonar' - ref: '2.0.0' + ref: '2.0.1' file: '/templates/gitlab-ci-sonar.yml' ``` diff --git a/templates/gitlab-ci-sonar.yml b/templates/gitlab-ci-sonar.yml index 2ce63e9925fa8e03fa0a6f2affc704ac2147b823..cc74020d96e297ec9549ca10a64f961909ba4662 100644 --- a/templates/gitlab-ci-sonar.yml +++ b/templates/gitlab-ci-sonar.yml @@ -278,7 +278,7 @@ stages: fi } - if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update sonar "2.0.0"; fi + if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update sonar "2.0.1"; fi unscope_variables # ENDSCRIPT @@ -291,7 +291,7 @@ sonar: entrypoint: [""] services: - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master" - command: ["--service", "sonar", "2.0.0" ] + command: ["--service", "sonar", "2.0.1" ] variables: # Tells git to fetch all the branches of the project, required by the analysis task # see: https://docs.sonarqube.org/8.5/analysis/gitlab-cicd/#header-2