From 222ef968d26e587c6b4d1c54a7549ca0e33f311a Mon Sep 17 00:00:00 2001
From: semantic-release-bot <semantic-release-bot@martynus.net>
Date: Thu, 7 Oct 2021 05:58:28 +0000
Subject: [PATCH] chore(release): 2.1.2 [skip ci]

## [2.1.2](https://gitlab.com/to-be-continuous/maven/compare/2.1.1...2.1.2) (2021-10-07)

### Bug Fixes

* use master or main for production env ([d5cac44](https://gitlab.com/to-be-continuous/maven/commit/d5cac44ae499b9ab3063cdb31935a2cd9d1b448a))
---
 CHANGELOG.md                  | 7 +++++++
 README.md                     | 2 +-
 templates/gitlab-ci-maven.yml | 4 ++--
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0319188..0740420 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,10 @@
+## [2.1.2](https://gitlab.com/to-be-continuous/maven/compare/2.1.1...2.1.2) (2021-10-07)
+
+
+### Bug Fixes
+
+* use master or main for production env ([d5cac44](https://gitlab.com/to-be-continuous/maven/commit/d5cac44ae499b9ab3063cdb31935a2cd9d1b448a))
+
 ## [2.1.1](https://gitlab.com/to-be-continuous/maven/compare/2.1.0...2.1.1) (2021-09-23)
 
 
diff --git a/README.md b/README.md
index 33c15c5..321dd6d 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/maven'
-    ref: '2.1.1'
+    ref: '2.1.2'
     file: '/templates/gitlab-ci-maven.yml'
 ```
 
diff --git a/templates/gitlab-ci-maven.yml b/templates/gitlab-ci-maven.yml
index ed7e3cc..0b7559e 100644
--- a/templates/gitlab-ci-maven.yml
+++ b/templates/gitlab-ci-maven.yml
@@ -434,7 +434,7 @@ stages:
     esac
   }
 
-  if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update maven "2.1.1"; fi
+  if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update maven "2.1.2"; fi
   unscope_variables
 
   # ENDSCRIPT
@@ -444,7 +444,7 @@ stages:
   image: $MAVEN_IMAGE
   services:
     - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
-      command: ["--service", "maven", "2.1.1" ]
+      command: ["--service", "maven", "2.1.2" ]
   before_script:
     - *mvn-scripts
     - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
-- 
GitLab