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