diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ec52321b..934ba1a5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,6 @@ -on: [release] +on: + release: + types: [published] permissions: contents: write diff --git a/pyproject.toml b/pyproject.toml index ea8acbbe..6b8d7712 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,6 +87,9 @@ Source = "https://github.com/ImperialCollegeLondon/SWMManywhere" [tool.hatch.build.targets.sdist] only-include = ["swmmanywhere", "netcomp"] +[tool.hatch.build.targets.wheel] +only-include = ["swmmanywhere", "netcomp"] + [tool.hatch.version] source = "vcs"