Skip to content

Commit ead57ee

Browse files
authored
Merge pull request #290 from screamerbg/development
mbed CLI 0.8.7 fixes
2 parents 999d946 + a864950 commit ead57ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mbed/mbed.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636

3737
# Application version
38-
ver = '0.8.7'
38+
ver = '0.8.8'
3939

4040
# Default paths to Mercurial and Git
4141
hg_cmd = 'hg'
@@ -1381,9 +1381,9 @@ def formaturl(url, format="default"):
13811381
if format == "ssh":
13821382
url = 'ssh://%s%s/%s.git' % (m.group(2) or 'git@', m.group(6), m.group(7))
13831383
elif format == "http":
1384-
url = 'http://%s%s/%s' % (m.group(2) if m.group(5) or m.group(3) != 'git' else '', m.group(6), m.group(7))
1384+
url = 'http://%s%s/%s' % (m.group(2) if (m.group(2) and (m.group(5) or m.group(3) != 'git')) else '', m.group(6), m.group(7))
13851385
elif format == "https":
1386-
url = 'https://%s%s/%s' % (m.group(2) if m.group(5) or m.group(3) != 'git' else '', m.group(6), m.group(7))
1386+
url = 'https://%s%s/%s' % (m.group(2) if (m.group(2) and (m.group(5) or m.group(3) != 'git')) else '', m.group(6), m.group(7))
13871387
else:
13881388
m = re.match(regex_hg_url, url)
13891389
if m:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
setup(
2020
name="mbed-cli",
21-
version="0.8.7",
21+
version="0.8.8",
2222
description="ARM mbed command line tool for repositories version control, publishing and updating code from remotely hosted repositories (GitHub, GitLab and mbed.org), and invoking mbed OS own build system and export functions, among other operations",
2323
long_description=LONG_DESC,
2424
url='http://github.com/ARMmbed/mbed-cli',

0 commit comments

Comments
 (0)