File tree Expand file tree Collapse file tree 3 files changed +73
-68
lines changed Expand file tree Collapse file tree 3 files changed +73
-68
lines changed Original file line number Diff line number Diff line change 1+ # Making a Release of Notebook
2+
3+ ## Start from a fresh git checkout and conda environment
4+
5+ ### Set the release branch
6+
7+ ``` bash
8+ export release_branch=master
9+ ```
10+
11+ ### Create the git checkout
12+
13+ ``` bash
14+ git clone
[email protected] :jupyter/notebook.git
15+ cd notebook
16+ git checkout ${release_banch}
17+ ```
18+
19+ ### Create and activate the conda environment
20+
21+ ``` bash
22+ conda create -n notebook-release -c conda-forge jupyter
23+ conda activate notebook-release
24+ ```
25+
26+ ## Perform a local dev install
27+
28+ ``` bash
29+ pip install -ve .
30+ ```
31+
32+ ## Install release dependencies
33+
34+ ``` bash
35+ conda install -c conda-forge nodejs babel twine
36+ npm install -g po2json
37+ ```
38+
39+ ## Update the version
40+
41+ ``` bash
42+ vim notebook/_version.py
43+ python setup.py jsversion
44+ git commit -am " Release $( python setup.py --version) "
45+ git tag $( python setup.py --version)
46+ ```
47+
48+ ## Create the artifacts
49+
50+ ``` bash
51+ rm -rf dist
52+ python setup.py sdist
53+ python setup.py bdist_wheel
54+ ```
55+
56+ ## Upload the artifacts
57+
58+ ``` bash
59+ twine check dist/* && twine upload dist/*
60+ ```
61+
62+ ## Change back to dev version
63+
64+ ``` bash
65+ vim notebook/_version.py # Add the .dev suffix
66+ git commit -am " Back to dev version"
67+ ```
68+
69+ ## Push the commits and tags
70+
71+ ``` bash
72+ git push origin ${release_branch} --tags
73+ ```
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ The Jupyter Notebook
3333 :caption: Contributor Documentation
3434
3535 contributing
36- development_release
3736 development_faq
3837
3938.. toctree ::
You can’t perform that action at this time.
0 commit comments