summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/release.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0322b1a..31dcb77 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -37,6 +37,11 @@ jobs:
asset_name: asciidoc-${{ github.event.release.tag_name }}.tar.gz
asset_content_type: application/gzip
+ - run: sudo rm -rf build
+
+ - name: Build release
+ run: python setup.py sdist bdist_wheel --universal
+
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with: