From 1949c431d23ae9fd8d03cb96a50006f5f4a6f484 Mon Sep 17 00:00:00 2001
From: semantic-release-bot <semantic-release-bot@martynus.net>
Date: Wed, 8 Sep 2021 09:55:17 +0000
Subject: [PATCH] chore(release): 2.0.0 [skip ci]
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

# [2.0.0](https://gitlab.com/to-be-continuous/sonar/compare/1.3.2...2.0.0) (2021-09-08)

### Features

* Change boolean variable behaviour ([b8f2b40](https://gitlab.com/to-be-continuous/sonar/commit/b8f2b40a430565e551a13a70a595df1b9203bede))

### BREAKING CHANGES

* boolean variable now triggered on explicit 'true' value

Signed-off-by: Cédric OLIVIER <cedric3.olivier@orange.com>
---
 README.md                     | 2 +-
 templates/gitlab-ci-sonar.yml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index ba58a2c..f06de2d 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: '1.3.2'
+    ref: '2.0.0'
     file: '/templates/gitlab-ci-sonar.yml'
 ```
 
diff --git a/templates/gitlab-ci-sonar.yml b/templates/gitlab-ci-sonar.yml
index 4d5d5cf..4b55a20 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 "1.3.2"; fi
+  if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update sonar "2.0.0"; fi
   unscope_variables
 
   # ENDSCRIPT
@@ -291,7 +291,7 @@ sonar:
     entrypoint: [""]
   services:
     - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
-      command: ["--service", "sonar", "1.3.2" ]
+      command: ["--service", "sonar", "2.0.0" ]
   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