File tree Expand file tree Collapse file tree 5 files changed +79
-25
lines changed Expand file tree Collapse file tree 5 files changed +79
-25
lines changed Original file line number Diff line number Diff line change
1
+ name : Check Release
2
+ on :
3
+ push :
4
+ branches : ["master"]
5
+ pull_request :
6
+ branches : ["*"]
7
+
8
+ jobs :
9
+ check_release :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout
13
+ uses : actions/checkout@v2
14
+ - name : Install Python
15
+ uses : actions/setup-python@v2
16
+ with :
17
+ python-version : 3.9
18
+ architecture : " x64"
19
+ - name : Get pip cache dir
20
+ id : pip-cache
21
+ run : |
22
+ echo "::set-output name=dir::$(pip cache dir)"
23
+ - name : Cache pip
24
+ uses : actions/cache@v2
25
+ with :
26
+ path : ${{ steps.pip-cache.outputs.dir }}
27
+ key : ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}
28
+ restore-keys : |
29
+ ${{ runner.os }}-pip-
30
+ ${{ runner.os }}-pip-
31
+ - name : Cache checked links
32
+ uses : actions/cache@v2
33
+ with :
34
+ path : ~/.cache/pytest-link-check
35
+ key : ${{ runner.os }}-linkcheck-${{ hashFiles('**/.md') }}-md-links
36
+ restore-keys : |
37
+ ${{ runner.os }}-linkcheck-
38
+ - name : Upgrade packaging dependencies
39
+ run : |
40
+ pip install --upgrade pip setuptools wheel --user
41
+ - name : Install Dependencies
42
+ run : |
43
+ pip install -e .
44
+ - name : Check Release
45
+ uses : jupyter-server/jupyter_releaser/.github/actions/check-release@v1
46
+ with :
47
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 68
68
pushd test_install
69
69
./bin/pytest --pyargs jupyter_server
70
70
popd
71
- - name : Check the Manifest
72
- run : |
73
- pip install check-manifest
74
- git clean -dfx
75
- check-manifest -v
76
- - name : Check Version Bump
77
- run : |
78
- pip install tbump
79
- tbump --non-interactive --only-patch 100.1.1
80
- git checkout .
Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+ <!-- <START NEW CHANGELOG ENTRY> -->
6
+
5
7
## 1.6.4
6
8
7
9
([ Full Changelog] ( https://github.com/jupyter-server/jupyter_server/compare/v1.6.3...68a64ea13be5d0d86460f04e0c47eb0b6662a0af ) )
@@ -16,6 +18,8 @@ All notable changes to this project will be documented in this file.
16
18
17
19
[ @afshin ] ( https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server+involves%3Aafshin+updated%3A2021-04-21..2021-04-21&type=Issues )
18
20
21
+ <!-- <END NEW CHANGELOG ENTRY> -->
22
+
19
23
## 1.6.3
20
24
21
25
([ Full Changelog] ( https://github.com/jupyter-server/jupyter_server/compare/v1.6.2...aa2636795ae1d87e3055febb3931f891dd6b4451 ) )
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ prune docs/dist
25
25
global-exclude *~
26
26
global-exclude *.pyc
27
27
global-exclude *.pyo
28
- global-exclude .git
29
- global-exclude .ipynb_checkpoints
30
- global-exclude .pytest_cache
31
- global-exclude .coverage
28
+ prune .git
29
+ prune **/.ipynb_checkpoints
30
+ prune **/.pytest_cache
31
+ prune **/.coverage
32
+ prune **/.pytest_cache
Original file line number Diff line number Diff line change 1
1
# Making a Jupyter Server Release
2
- To create a release, perform the following steps...
3
2
4
- ## Set up
5
- ```
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
+ To create a manual release, perform the following steps:
10
+
11
+ ### Set up
12
+
13
+ ``` bash
6
14
pip install tbump twine build
7
15
git pull origin $( git branch --show-current)
8
16
git clean -dffx
9
17
```
10
18
11
- ## Update the version and apply the tag
12
- ```
19
+ ### Update the version and apply the tag
20
+
21
+ ``` bash
13
22
echo " Enter new version"
14
23
read script_version
15
24
tbump ${script_version}
16
25
```
17
26
18
- ## Build the artifacts
19
- ```
27
+ ### Build the artifacts
28
+
29
+ ``` bash
20
30
rm -rf dist
21
31
python -m build .
22
32
```
23
33
24
- ## Update the version back to dev
25
- ```
34
+ ### Update the version back to dev
35
+
36
+ ``` bash
26
37
echo " Enter dev version"
27
38
read dev_version
28
39
tbump ${dev_version} --no-tag
29
40
git push origin $( git branch --show-current)
30
41
```
31
42
32
- ## Publish the artifacts to pypi
33
- ```
43
+ ### Publish the artifacts to pypi
44
+
45
+ ``` bash
34
46
twine check dist/*
35
47
twine upload dist/*
36
48
```
You can’t perform that action at this time.
0 commit comments