Skip to content

Commit 9ce8c14

Browse files
authored
Merge pull request #38 from editorconfig-checker/no-ext-aechives
fix: since v3 we no longer have the extension in the archive name
2 parents 8a118c5 + 081e436 commit 9ce8c14

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ def get_ec_name_by_system():
5858

5959
# The core, from `2.7.0`, introduces the extension in the tarball name
6060
# (e.g. `ec-windows-386.exe.tar.gz`, `ec-windows-arm.exe.tar.gz`)
61-
_ext = '.exe' if _system == 'Windows' else ''
61+
# In `3.1.0` the windows extension was then again dropped from the
62+
# archive name.
6263

63-
return 'ec-{}-{}{}'.format(
64+
return 'ec-{}-{}'.format(
6465
_system.lower(),
6566
_architecture,
66-
_ext,
6767
)
6868

6969
return 'https://github.com/editorconfig-checker/editorconfig-checker/releases/download/{}/{}.tar.gz'.format(

0 commit comments

Comments
 (0)