File tree Expand file tree Collapse file tree 2 files changed +21
-11
lines changed Expand file tree Collapse file tree 2 files changed +21
-11
lines changed Original file line number Diff line number Diff line change
1
+ name : Release PyPI
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+
7
+ jobs :
8
+ pypi-publish :
9
+ name : Upload release to PyPI
10
+ runs-on : ubuntu-latest
11
+ environment :
12
+ name : release
13
+ url : https://pypi.org/p/zaproxy
14
+ permissions :
15
+ id-token : write
16
+ steps :
17
+ - run : poetry build
18
+ - name : Publish package distributions to PyPI
19
+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -9,14 +9,5 @@ Tag (and push) the new version:
9
9
git tag -s 0.0.X -m "Version 0.0.X."
10
10
git push upstream 0.0.X
11
11
12
- (Checkout the tag and ensure the working copy is clean.)
13
-
14
- Build the distribution (source and wheel) files:
15
-
16
- poetry build
17
-
18
- Upload to PyPi:
19
-
20
- poetry publish
21
-
22
- The user must have permissions to upload to the ` zaproxy ` package.
12
+ The workflow [ Release PyPI] ( https://github.com/zaproxy/zap-api-python/blob/main/.github/workflows/release.yml )
13
+ will be triggered by the tag push and release to PyPI.
You can’t perform that action at this time.
0 commit comments