File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ # Making a Release of Notebook
2+
3+ ## Perform a local dev install
4+
5+ ` pip install -e . `
6+
7+ ## Add release dependencies
8+
9+ ``` bash
10+ conda install -c conda-forge nodejs babel twine
11+ npm install -g po2json
12+ ```
13+
14+ ## Update the version
15+
16+ ``` bash
17+ vim notebook/_version.py
18+ git commit -am " Release $( python setup.py --version) "
19+ git tag $( python setup.py --version)
20+ ```
21+
22+ ## Create the artifacts
23+
24+ ``` bash
25+ rm -rf dist
26+ python setup.py sdist
27+ python setup.py bdist_wheel
28+ ```
29+
30+ ## Upload the artifacts
31+ twine check dist/* && twine upload dist/*
32+
33+ ## Change back to dev version
34+
35+ ```
36+ vim notebook/_version.py
37+ git commit -am "Back to dev version"
38+ ```
39+
40+ ## Push the commits and tags
41+ git push <remote > <branch > --tags
You can’t perform that action at this time.
0 commit comments