File: RELEASE.md

package info (click to toggle)
jupyter-server 1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,844 kB
  • sloc: python: 12,331; makefile: 175; javascript: 72
file content (41 lines) | stat: -rw-r--r-- 721 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Making a Jupyter Server Release
To create a release, perform the following steps...

## Remove untracked files
```
git clean -dffx
```

## Update the version and apply the tag
```
vim jupyter_server/_version.py
export script_version=`python setup.py --version 2>/dev/null`
git commit -a -m "Release $script_version"
git tag $script_version
```

## Build the artifacts
```
rm -rf dist
python setup.py sdist
python setup.py bdist_wheel
```

## Update the version back to dev
```
vim jupyter_server/_version.py
git commit -a -m "Back to dev version"
```

## Push the commits and tag
```
git push --all
git push --tags
```

## Publish the artifacts to pypi
```
pip install twine
twine check dist/* 
twine upload dist/*
```