Finish a Feature
<?php
$this->taskFeatureFinish('BranchName', 'GitPath')
->developBranch('develop')
->repository('origin')
->fetchFlag(true)
->rebaseFlag(true)
->deleteBranchAfter(true)
->prefixBranch('feature_')
->pushFlag(true)
->run();
?>
rebaseFlag($rebaseFlag)
Set rebase flag, do a rebase if is truedeleteBranchAfter($deleteBranchAfter)
Set delete branch flag, delete branch if is truepushFlag($pushFlag)
Set push flag, push if is truerepository($repository)
Set main repositorydevelopBranch($developBranch)
Set develop branch namemasterBranch($masterBranch)
Set master branch nameprefixBranch($prefixBranch)
Set prefix branchfetchFlag($fetchFlag)
Set fetch flag, fetch all if is true
Start a new Feature
<?php
$this->taskFeatureStart('BranchName', 'GitPath')
->developBranch('develop')
->repository('origin')
->prefixBranch('feature_')
->fetchFlag(true)
->run();
?>
repository($repository)
Set main repositorydevelopBranch($developBranch)
Set develop branch namemasterBranch($masterBranch)
Set master branch nameprefixBranch($prefixBranch)
Set prefix branchfetchFlag($fetchFlag)
Set fetch flag, fetch all if is true
Finish a Hotfix
<?php
$this->taskHotfixFinish('BranchName', 'GitPath')
->developBranch('develop')
->masterBranch('master')
->repository('origin')
->fetchFlag(true)
->rebaseFlag(true)
->deleteBranchAfter(true)
->prefixBranch('hotfix_')
->noTag(false)
->tagMessage(null)
->pushFlag(true)
->run();
?>
noTag($noTag)
Set noTag flag, tag master branch if is falsetagMessage($tagMessage)
Set tag messagerebaseFlag($rebaseFlag)
Set rebase flag, do a rebase if is truedeleteBranchAfter($deleteBranchAfter)
Set delete branch flag, delete branch if is truepushFlag($pushFlag)
Set push flag, push if is truerepository($repository)
Set main repositorydevelopBranch($developBranch)
Set develop branch namemasterBranch($masterBranch)
Set master branch nameprefixBranch($prefixBranch)
Set prefix branchfetchFlag($fetchFlag)
Set fetch flag, fetch all if is true
Start a new Hotfix
<?php
$this->taskHotfixStart('Version', 'GitPath')
->masterBranch('master')
->repository('origin')
->fetchFlag(true)
->prefixBranch('hotfix_')
->run();
?>
repository($repository)
Set main repositorydevelopBranch($developBranch)
Set develop branch namemasterBranch($masterBranch)
Set master branch nameprefixBranch($prefixBranch)
Set prefix branchfetchFlag($fetchFlag)
Set fetch flag, fetch all if is true
Finish a release
<?php
$this->taskReleaseFinish('version', 'GitPath')
->developBranch('develop')
->masterBranch('master')
->repository('origin')
->fetchFlag(true)
->rebaseFlag(true)
->deleteBranchAfter(true)
->prefixBranch('release_')
->noTag(false)
->tagMessage(null)
->pushFlag(true)
->run();
?>
noTag($noTag)
Set noTag flag, tag master branch if is falsetagMessage($tagMessage)
Set tag messagerebaseFlag($rebaseFlag)
Set rebase flag, do a rebase if is truedeleteBranchAfter($deleteBranchAfter)
Set delete branch flag, delete branch if is truepushFlag($pushFlag)
Set push flag, push if is truerepository($repository)
Set main repositorydevelopBranch($developBranch)
Set develop branch namemasterBranch($masterBranch)
Set master branch nameprefixBranch($prefixBranch)
Set prefix branchfetchFlag($fetchFlag)
Set fetch flag, fetch all if is true
Start a new Release
<?php
$this->taskReleaseStart('Version', 'GitPath')
->developBranch('develop')
->repository('origin')
->fetchFlag(true)
->prefixBranch('release_')
->run();
?>
repository($repository)
Set main repositorydevelopBranch($developBranch)
Set develop branch namemasterBranch($masterBranch)
Set master branch nameprefixBranch($prefixBranch)
Set prefix branchfetchFlag($fetchFlag)
Set fetch flag, fetch all if is true