Don't treat main as feature branch

This commit is contained in:
Maurice Heumann 2022-11-14 11:35:38 +01:00 committed by GitHub
parent 1f9ce96c4d
commit f30f08a498

View File

@ -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