Skip to content

Commit eb5019e

Browse files
v0.0.7 📜
1 parent 612c775 commit eb5019e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build
22

33
on:
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 }}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def readme():
88

99
setup(
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",

0 commit comments

Comments
 (0)