File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed
Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Check Release
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+ branches :
8+ - master
9+
10+ permissions :
11+ contents : write
12+
13+ jobs :
14+ check_release :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v2
19+
20+ - name : Base Setup
21+ uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
22+
23+ - name : Check Release
24+ uses : jupyter-server/jupyter_releaser/.github/actions/check-release@v2
25+ with :
26+ token : ${{ secrets.GITHUB_TOKEN }}
27+ version_spec : next
28+
29+ - name : Upload Distributions
30+ uses : actions/upload-artifact@v2
31+ with :
32+ name : ipycanvas-releaser-dist-${{ github.run_number }}
33+ path : .jupyter_releaser_checkout/dist
Original file line number Diff line number Diff line change @@ -102,3 +102,20 @@ src = "ipycanvas/_version.py"
102102[[tool .tbump .file ]]
103103src = " package.json"
104104version_template = " \" version\" : \" {major}.{minor}.{patch}{channel}{release}\" "
105+
106+ [tool .jupyter-releaser .hooks ]
107+ before-bump-version = [
108+ " python -m pip install hatch jupyterlab~=4.0" ,
109+ ]
110+ before-build-npm = [
111+ " python -m pip install jupyterlab~=4.0" ,
112+ " jlpm" ,
113+ " jlpm clean" ,
114+ " jlpm build" ,
115+ ]
116+ before-build-python = [
117+ " jlpm clean" ,
118+ ]
119+
120+ [tool .check-wheel-contents ]
121+ ignore = [" W002" ]
You can’t perform that action at this time.
0 commit comments