Skip to content

Commit b014d65

Browse files
authored
Merge pull request #53 from joedevivo/master
Added `ssh://git@` url pattern
2 parents e5da2ba + 0fe0ed6 commit b014d65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

circuitpython_build_tools/scripts/build_bundles.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ def build_bundle(libs, bundle_version, output_filename, package_folder_prefix,
9191
for line in versions.stdout.split(b"\n"):
9292
if not line:
9393
continue
94-
if line.startswith(b"git@"):
94+
if line.startswith(b"ssh://git@"):
95+
repo = b"https://" + line.split(b"@")[1][:-len(".git")]
96+
elif line.startswith(b"git@"):
9597
repo = b"https://github.com/" + line.split(b":")[1][:-len(".git")]
9698
elif line.startswith(b"https:"):
9799
repo = line.strip()[:-len(".git")]

0 commit comments

Comments
 (0)