feature-branch-deployer

1.0.0 • Public • Published

Feature Branch Deployer

  • client to manage branchs according to our git flow inspired by feature branch

  • this is an working in progress repository

Installation

npm:

npm install -g feature-branch-deployer

Usage

All commands listed before should be executed on your repository path

Create a new testing branch

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.

Delete your tested branch

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.

Create a branch without any testing feature

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.

Create a tag (prod/stag) to deploy (production/homolog) environment

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

Package Sidebar

Install

npm i feature-branch-deployer

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

6.4 kB

Total Files

4

Last publish

Collaborators

  • alinemorelli