-
client to manage branchs according to our git flow inspired by feature branch
-
this is an working in progress repository
npm:
npm install -g feature-branch-deployer
All commands listed before should be executed on your repository path
You can create a new branch based on your development branch and add the branch of the feature to be tested to it.
featureBranch test <baseBranch> <featureBranch>
It will generate a branch with the name qa__{featureBranch}, a tag 'testing' and push to your origin.
After testing the feature you can delete the test branch from your repository
featureBranch remove <featureBranch>
It will remove the branch named qa_{featureBranch} from remote and origin.
After testing the feature you can create a new branch to clear your qa environment based on your development branch
featureBranch clear
It will create a branch named qa__based on branch dev, a tag 'testing' and pushto your origin.
After testing the feature you can deploy all your features to homolog or production
Possible values in the environment option: production
or homolog
featureBranch deploy -e <environment>
It will checkout to branch (production or dev) and create a tag (prod or stag) based on your environment option