mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-15 20:57:56 +08:00
Add bumpversion (#423)
* Add bumpversion * Update readme for bumpversion
This commit is contained in:
9
.bumpversion.cfg
Normal file
9
.bumpversion.cfg
Normal 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]
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
bumpversion
|
||||
pytest
|
||||
requests
|
||||
-r requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user