Skip to content

Commit 110b68a

Browse files
author
Steven Silvester
committed
Add more instructions
1 parent 16f3903 commit 110b68a

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

RELEASE.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
# Making a Release of Notebook
22

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+
```bash
12+
git clone [email protected]:jupyter/notebook.git
13+
cd notebook
14+
git checkout ${release_banch}
15+
conda create -n notebook-release -c conda-forge jupyter
16+
conda activate notebook-release
17+
```
18+
319
## Perform a local dev install
420

5-
`pip install -e .`
21+
`pip install -ve .`
622

723
## Install release dependencies
824

@@ -33,10 +49,11 @@ python setup.py bdist_wheel
3349

3450
## Change back to dev version
3551

36-
```
52+
```bash
3753
vim notebook/_version.py
3854
git commit -am "Back to dev version"
3955
```
4056

4157
## Push the commits and tags
42-
git push <remote> <branch> --tags
58+
59+
`git push origin ${release_branch} --tags`

0 commit comments

Comments
 (0)