File tree Expand file tree Collapse file tree 3 files changed +53
-27
lines changed Expand file tree Collapse file tree 3 files changed +53
-27
lines changed Original file line number Diff line number Diff line change 59
59
# See `setup.cfg` for full test options
60
60
run : |
61
61
pytest --pyargs jupyterlab_server
62
- - name : Check manifest
63
- run : |
64
- set -eux
65
- pip install check-manifest
66
- git clean -dfx
67
- check-manifest -v
68
62
- name : Upload coverage
69
63
run : |
70
64
codecov
71
- - name : Install and Test SDist
72
- if : ${{ runner.os != 'Windows' }}
73
- run : |
74
- set -eux
75
- pip uninstall -y jupyterlab_server
76
- pip install build
77
- python -m build --sdist .
78
- cd dist
79
- pip install *.tar.gz
80
- pytest --pyargs jupyterlab_server
81
65
- name : Build docs
82
66
run : |
83
67
set -eux
88
72
make html
89
73
conda deactivate
90
74
popd
91
- - name : Check Version Bump
75
+
76
+ check_release :
77
+ runs-on : ubuntu-latest
78
+ steps :
79
+ - name : Checkout
80
+ uses : actions/checkout@v2
81
+ - name : Install Python
82
+ uses : actions/setup-python@v2
83
+ with :
84
+ python-version : 3.9
85
+ architecture : " x64"
86
+ - name : Get pip cache dir
87
+ id : pip-cache
92
88
run : |
93
- set -eux
94
- pip install tbump
95
- tbump --non-interactive --only-patch 100.1.1
96
- git checkout .
89
+ echo "::set-output name=dir::$(pip cache dir)"
90
+ - name : Cache pip
91
+ uses : actions/cache@v2
92
+ with :
93
+ path : ${{ steps.pip-cache.outputs.dir }}
94
+ key : ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}
95
+ restore-keys : |
96
+ ${{ runner.os }}-pip-
97
+ ${{ runner.os }}-pip-
98
+ - name : Cache checked links
99
+ uses : actions/cache@v2
100
+ with :
101
+ path : ~/.cache/pytest-link-check
102
+ key : ${{ runner.os }}-linkcheck-${{ hashFiles('**/.md') }}-md-links
103
+ restore-keys : |
104
+ ${{ runner.os }}-linkcheck-
105
+ - name : Upgrade packaging dependencies
106
+ run : |
107
+ pip install --upgrade pip setuptools wheel --user
108
+ - name : Install Dependencies
109
+ run : |
110
+ pip install -e .
111
+ - name : Check Release
112
+ uses : jupyter-server/jupyter_releaser/.github/actions/check-release@v1
113
+ with :
114
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -4,14 +4,17 @@ github_url: 'https://github.com/jupyterlab/jupyterlab_server/blob/master/CHANGEL
4
4
5
5
# Change Log
6
6
7
+ <!-- <START NEW CHANGELOG ENTRY> -->
8
+
7
9
## 2.5.1
8
10
9
11
### Maintenance and upkeep improvements
10
12
11
13
- Remove Packaging Dependency [ #181 ] ( https://github.com/jupyterlab/jupyterlab_server/pull/181 ) ([ @jtpio ] ( https://github.com/jtpio ) )
12
14
13
- ## 2.5.0
15
+ <!-- <END NEW CHANGELOG ENTRY> -->
14
16
17
+ ## 2.5.0
15
18
16
19
([ Full Changelog] ( https://github.com/jupyterlab/jupyterlab_server/compare/2.4.0...f5009812e86ec47e36b3d90569d1eaa4771c9939 ) )
17
20
Original file line number Diff line number Diff line change 1
1
# Making a JupyterLab Server Release
2
- To create a release, perform the following steps...
3
2
4
- ## Set up
3
+ ## Using ` jupyter_releaser `
4
+
5
+ The recommended way to make a release is to use [ ` jupyter_releaser ` ] ( https://github.com/jupyter-server/jupyter_releaser#checklist-for-adoption ) .
6
+
7
+ ## Manual Release
8
+
9
+ ### Set up
5
10
```
6
11
pip install tbump twine build
7
12
git pull origin $(git branch --show-current)
8
13
git clean -dffx
9
14
```
10
15
11
- ## Update the version and apply the tag
16
+ ### Update the version and apply the tag
12
17
```
13
18
echo "Enter new version"
14
19
read script_version
15
20
tbump ${script_version}
16
21
```
17
22
18
- ## Build the artifacts
23
+ ### Build the artifacts
19
24
```
20
25
rm -rf dist
21
26
python -m build .
22
27
```
23
28
24
- ## Publish the artifacts to pypi
29
+ ### Publish the artifacts to pypi
25
30
```
26
31
twine check dist/*
27
32
twine upload dist/*
You can’t perform that action at this time.
0 commit comments