File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build
22
33on :
4+ release :
5+ types : [published]
46 push :
57 branches :
68 - main
@@ -74,23 +76,21 @@ jobs:
7476 publish :
7577 runs-on : ubuntu-18.04
7678 needs : build
79+ if : github.event_name == 'release'
7780 steps :
7881 - name : Download a distribution artifact
7982 uses : actions/download-artifact@v2
80- if : startsWith(github.ref, 'refs/tags')
8183 with :
8284 name : dist-package-3.9
8385 - name : Publish distribution 📦 to Test PyPI
8486 uses : pypa/gh-action-pypi-publish@master
85- if : startsWith(github.ref, 'refs/tags')
8687 with :
8788 skip_existing : true
8889 user : __token__
8990 password : ${{ secrets.test_pypi_password }}
9091 repository_url : https://test.pypi.org/legacy/
9192 - name : Publish distribution 📦 to PyPI
9293 uses : pypa/gh-action-pypi-publish@master
93- if : startsWith(github.ref, 'refs/tags')
9494 with :
9595 user : __token__
9696 password : ${{ secrets.pypi_password }}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ def readme():
88
99setup (
1010 name = "essentials-openapi" ,
11- version = "0.0.6 " ,
11+ version = "0.0.7 " ,
1212 description = "Classes to generate OpenAPI Documentation v3 and v2, in JSON and YAML" ,
1313 long_description = readme (),
1414 long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments