https://github.com/alinemorelli/feature-branch-deployer
https://github.com/alinemorelli/feature-branch-deployer
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alinemorelli/feature-branch-deployer
- Owner: alinemorelli
- Created: 2019-02-12T20:01:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T15:55:30.000Z (over 3 years ago)
- Last Synced: 2025-03-24T19:03:29.784Z (2 months ago)
- Language: JavaScript
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Feature Branch Deployer
- client to manage branchs according to our git flow inspired by [feature branch](https://martinfowler.com/bliki/FeatureBranch.html)
- this is an working in progress repository
## Installation
[npm](https://www.npmjs.com/):
```bash
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.
```bash
featureBranch test
```
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
```bash
featureBranch remove
```
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
```bash
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 productionPossible values in the environment option: `production` or `homolog`
```bash
featureBranch deploy -e
```It will checkout to branch (production or dev) and create a tag (prod or stag) based on your environment option