We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04cdfc9 commit 1e58665Copy full SHA for 1e58665
.github/workflows/deploy-release.yml
@@ -0,0 +1,22 @@
1
+name: Deploy release
2
+on:
3
+ push:
4
+ tags:
5
+ - '*'
6
+jobs:
7
+ pypi:
8
+ permissions:
9
+ id-token: write
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - name: Setup Python
14
+ uses: actions/setup-python@v4
15
+ with:
16
+ python-version: '3.11'
17
+ - name: Install dependencies
18
+ run: pip install -U build
19
+ - name: Build package
20
+ run: python -m build
21
+ - name: Publish to PyPI
22
+ uses: pypa/gh-action-pypi-publish@release/v1
.tools/release.sh
@@ -11,5 +11,4 @@ hatch build
git add */__init__.py
git commit -m "v$1"
git tag -a -m "" "v$1"
-hatch publish
git push origin master --tags
0 commit comments