From d5cac44ae499b9ab3063cdb31935a2cd9d1b448a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20OLIVIER?= <cedric3.olivier@orange.com>
Date: Wed, 6 Oct 2021 19:30:25 +0000
Subject: [PATCH] fix: use master or main for production env

---
 templates/gitlab-ci-maven.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/gitlab-ci-maven.yml b/templates/gitlab-ci-maven.yml
index 0f8f82b..ed7e3cc 100644
--- a/templates/gitlab-ci-maven.yml
+++ b/templates/gitlab-ci-maven.yml
@@ -18,7 +18,7 @@ variables:
   MAVEN_IMAGE: "maven:latest"
 
   # default production ref name (pattern)
-  PROD_REF: '/^master$/'
+  PROD_REF: '/^(master|main)$/'
   # default integration ref name (pattern)
   INTEG_REF: '/^develop$/'
 
-- 
GitLab