git-deploy-version
v1.0.0-beta.3
Published
Deploy flow using GIT and SemVer
Downloads
2
Readme
git-deploy-version
Deploy flow using GIT and SemVer
Dependencies
- GIT
How to Use
- Setup a configuration file like
config.json.sample
- Run CLI
./git-deploy-version --root /project/dir --config /project/dir/git-deploy-version-config.json
Logic Flow
- Get GIT Branch
- Branch must be develop, stage or master
- GIT fetch remote and tags
- GIT pull remote branch
- List all the Tags
- Get grater Tag (based on semver)
- Update version old
- Start inquirer
- Update versions
- GIT add all files
- GIT commit
- GIT add tag
- GIT push tags
- GIT push remote branch
- GIT checkout develop
- GIT pull remote develop
TODO
[] Customizable GIT remote alias (currently is origin
)
[] Customizable GIT allowed branches (currently just develop
, stage
and master
)
[] Customizable version prefix (currently is v
)
[] Customizable branch return (currently develop
)
Please Contribute!
I'm happy to receive contributions of any kind!
Did you like my work?
Help me out with a little donation, press on the button below.