From f30f08a49832a12d60e63e592ffbfee057316a90 Mon Sep 17 00:00:00 2001 From: Maurice Heumann Date: Mon, 14 Nov 2022 11:35:38 +0100 Subject: [PATCH] Don't treat main as feature branch --- premake5.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/premake5.lua b/premake5.lua index 4e8ac575..5130f021 100644 --- a/premake5.lua +++ b/premake5.lua @@ -97,7 +97,7 @@ newaction { local gitCurrentBranchSuccess = proc:close() if gitCurrentBranchSuccess then -- We got a branch name, check if it is a feature branch - if gitCurrentBranchOutput ~= "develop" and gitCurrentBranchOutput ~= "master" then + if gitCurrentBranchOutput ~= "develop" and gitCurrentBranchOutput ~= "master" and gitCurrentBranchOutput ~= "main" then version = version .. "-" .. gitCurrentBranchOutput end end