From 4e6a4eda008f74f962bcc050914f3435b4b2a20b Mon Sep 17 00:00:00 2001 From: Adrian Letchford Date: Sun, 14 May 2023 21:27:35 +0100 Subject: [PATCH] Include version in manifest --- .github/workflows/release.yml | 6 ++---- MANIFEST.in | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f0ac61..ce84a60 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,6 @@ name: Build and publish to PyPI -on: - release: - tags: - - "v*" +on: [release] jobs: @@ -26,6 +23,7 @@ jobs: python -m pip install --upgrade build twine python -m build python -m twine check --strict dist/* + - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@master with: diff --git a/MANIFEST.in b/MANIFEST.in index 1a69f4c..c19bcc9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,2 @@ include readme.md +include version.py \ No newline at end of file