From 88b8bea122b59ce78a61a54c93196d6c6b5377fc Mon Sep 17 00:00:00 2001
From: semantic-release-bot <semantic-release-bot@martynus.net>
Date: Thu, 7 Oct 2021 05:54:41 +0000
Subject: [PATCH] chore(release): 2.0.1 [skip ci]

## [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))
---
 CHANGELOG.md                  | 7 +++++++
 README.md                     | 2 +-
 templates/gitlab-ci-sonar.yml | 4 ++--
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7efd1c1..97a0cca 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 7dc175e..63aaa26 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 2ce63e9..cc74020 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
-- 
GitLab