Don't treat main as feature branch
This commit is contained in:
parent
1f9ce96c4d
commit
f30f08a498
@ -97,7 +97,7 @@ newaction {
|
|||||||
local gitCurrentBranchSuccess = proc:close()
|
local gitCurrentBranchSuccess = proc:close()
|
||||||
if gitCurrentBranchSuccess then
|
if gitCurrentBranchSuccess then
|
||||||
-- We got a branch name, check if it is a feature branch
|
-- 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
|
version = version .. "-" .. gitCurrentBranchOutput
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user