Add bumpversion (#423)

* Add bumpversion

* Update readme for bumpversion
This commit is contained in:
Charlotte Weaver
2018-11-09 10:01:02 -08:00
committed by GitHub
parent 6916aec6c3
commit 1dc80145dc
3 changed files with 11 additions and 2 deletions

9
.bumpversion.cfg Normal file
View File

@@ -0,0 +1,9 @@
[bumpversion]
current_version = 0.1.0
[bumpversion:file:setup.py]
[bumpversion:file:server/cli/cli.py]
[bumpversion:file:client/package.json]

View File

@@ -23,8 +23,7 @@ Follow these steps to create a release.
- Write the release title and release notes
2. Create a release branch, eg, `release-version`
3. In the release branch:
- set the version number in `client/package.json`
- set the version number in `setup.py`
- run `bumpversion --config-file .bumpversion.cfg [major | minor | patch]`
- build the JS asserts using `bin/build-client`
4. Commit and push the new branch
5. Create a PR for the release.

View File

@@ -1,3 +1,4 @@
bumpversion
pytest
requests
-r requirements.txt