summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/release.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release.py b/scripts/release.py
index 8253ab1..34e23ff 100644
--- a/scripts/release.py
+++ b/scripts/release.py
@@ -51,7 +51,7 @@ def artifact_matcher(version):
def matches(fn):
return (
fn.startswith(prefix) and
- os.path.splitext(fn)[1] in ('.exe', '.whl') and
+ fn.endswith('.whl') and
not fn.endswith('-none-any.whl')
) or fn == '{}.tar.gz'.format(prefix)
return matches