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 6868 pushd test_install
6969 ./bin/pytest --pyargs jupyter_server
7070 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 22
33All notable changes to this project will be documented in this file.
44
5+ <!-- <START NEW CHANGELOG ENTRY> -->
6+
57## 1.6.4
68
79([ 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.
1618
1719[ @afshin ] ( https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server+involves%3Aafshin+updated%3A2021-04-21..2021-04-21&type=Issues )
1820
21+ <!-- <END NEW CHANGELOG ENTRY> -->
22+
1923## 1.6.3
2024
2125([ 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
2525global-exclude *~
2626global-exclude *.pyc
2727global-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 11# Making a Jupyter Server Release
2- To create a release, perform the following steps...
32
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
614pip install tbump twine build
715git pull origin $( git branch --show-current)
816git clean -dffx
917```
1018
11- ## Update the version and apply the tag
12- ```
19+ ### Update the version and apply the tag
20+
21+ ``` bash
1322echo " Enter new version"
1423read script_version
1524tbump ${script_version}
1625```
1726
18- ## Build the artifacts
19- ```
27+ ### Build the artifacts
28+
29+ ``` bash
2030rm -rf dist
2131python -m build .
2232```
2333
24- ## Update the version back to dev
25- ```
34+ ### Update the version back to dev
35+
36+ ``` bash
2637echo " Enter dev version"
2738read dev_version
2839tbump ${dev_version} --no-tag
2940git push origin $( git branch --show-current)
3041```
3142
32- ## Publish the artifacts to pypi
33- ```
43+ ### Publish the artifacts to pypi
44+
45+ ``` bash
3446twine check dist/*
3547twine upload dist/*
3648```
You can’t perform that action at this time.
0 commit comments