File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Releasing
2
+
3
+ ## Prerequisites
4
+
5
+ - First check that the changelog.rst is up to date for the next release version
6
+
7
+ ## Bump version
8
+
9
+ - Load ` jupyter_client/_version.py ` and remove the 'dev' tag
10
+ - Change from patch to minor or major for appropriate version updates.
11
+ - ` git commit -am "Bumped version for release" `
12
+ - ` git tag {new version here} `
13
+
14
+ ## Push to PyPI
15
+
16
+ ``` bash
17
+ rm -rf dist/*
18
+ rm -rf build/*
19
+ python setup.py sdist bdist_wheel
20
+ # You should probably also test downstream libraries against each of the artifacts produced as this isn't tested in the project atm
21
+ twine upload dist/*
22
+ ```
23
+
24
+ ## Dev version
25
+
26
+ - Load ` jupyter_client/_version.py ` and bump the patch version and add the 'dev' tag back to the end of the version tuple.
27
+
28
+
29
+ ## Push to GitHub
30
+
31
+ ``` bash
32
+
33
+ git commit -am " Added dev back to version" .
34
+ git push && git push --tags
35
+ ```
You can’t perform that action at this time.
0 commit comments