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