We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aafaad5 commit 010b8cbCopy full SHA for 010b8cb
.github/workflows/build.yml
@@ -1,6 +1,8 @@
1
name: Build
2
3
on:
4
+ release:
5
+ types: [published]
6
push:
7
branches: main
8
pull_request:
@@ -61,3 +63,18 @@ jobs:
61
63
make html
62
64
python -m pytest --check-links
65
popd
66
+
67
+ - name: Build
68
+ if: github.event_name == 'release'
69
+ run: |
70
+ python -m pip install --upgrade -v -e ".[test, examples, docs]"
71
+ yarn build
72
+ rm -rf dist
73
74
+ python -m build .
75
76
+ - name: Publish package
77
78
+ uses: pypa/gh-action-pypi-publish@release/v1
79
+ with:
80
+ password: ${{ secrets.PYPI_API_TOKEN }}
package.json
@@ -1,6 +1,6 @@
{
"name": "jupyterannotate",
- "version": "0.1.2",
+ "version": "0.1.3",
"description": "A Jupyter Text Annotation Widget",
"keywords": [
"jupyter",
0 commit comments