Go to file
2019-05-30 16:00:25 -04:00
dist dont need dist, added to ignore 2018-05-25 13:32:39 -04:00
semver add a flag for global user to fix an issue with jenkins 2019-03-21 15:25:17 -04:00
.bumpversion.cfg semver to only output a version if the git tag for the version and the current commit hash match 2018-06-05 17:10:32 -04:00
.gitignore fix conflict 2018-05-25 14:15:28 -04:00
Dockerfile update Docker file to allow other users to run semver 2018-05-25 16:08:38 -04:00
Jenkinsfile Add push version 2019-05-30 16:00:25 -04:00
README.md document exit codes 2018-06-05 11:06:08 -04:00
README.rst switched to module and cli install 2018-05-23 15:09:14 -04:00
setup.py add no push option 2018-06-01 14:28:30 -04:00
VERSION update Docker file to allow other users to run semver 2018-05-25 16:08:38 -04:00

Semantic Versioning

Usage

FULL_PATH_TO_LOCAL_REPO gives container access to repo to be versioned

FULL_PATH_TO_SSH_FOLDER gives container access to ssh keys to be able to push repo

docker build -t semver . docker run -v FULL_PATH_TO_LOCAL_REPO:/application_repo -v FULL_PATH_TO_SSH_FOLDER:/root/.ssh semver

after this finishes must go to FULL_PATH_TO_LOCAL_REPO and push yourself

git push origin develop git push origin --tags

Exit Codes

Exit codes mean things

1

No merge found

2

Not a main branch

3

No git flow branch name found

128

Totally broken dont know why