Skip to content

Commit

Permalink
Merge pull request #20 from laurensverhoeven/main
Browse files Browse the repository at this point in the history
Update version to 2.6.0
  • Loading branch information
mmicu authored Sep 8, 2022
2 parents 058c145 + 00b3e99 commit 98a82fb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
from urllib2 import urlopen


WRAPPER_VERSION = '2.4.0'
EDITORCONFIG_CHECKER_CORE_VERSION = '2.4.0'
WRAPPER_VERSION = '2.6.0'
EDITORCONFIG_CHECKER_CORE_VERSION = '2.6.0'
EDITORCONFIG_CHECKER_EXE_NAME = 'ec'


Expand All @@ -55,10 +55,9 @@ def get_ec_name_by_system():
else:
raise ValueError('Cannot determine architecture')

return 'ec-{}-{}{}'.format(
return 'ec-{}-{}'.format(
_system.lower(),
_architecture,
'.exe' if _system == 'Windows' else ''
)

return 'https://github.com/editorconfig-checker/editorconfig-checker/releases/download/{}/{}.tar.gz'.format(
Expand Down Expand Up @@ -94,8 +93,6 @@ def extract_tarball(url, data):

def save_executables(data, base_dir):
exe = EDITORCONFIG_CHECKER_EXE_NAME
if system() == 'Windows':
exe += '.exe'

output_path = path.join(base_dir, exe)
makedirs(base_dir)
Expand Down

0 comments on commit 98a82fb

Please sign in to comment.