Skip to content

Commit e3368a3

Browse files
author
Steven Silvester
committed
Add release instructions
1 parent e577b6c commit e3368a3

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

RELEASE.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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

0 commit comments

Comments
 (0)