diff --git a/rollup.utils.js b/rollup.utils.js
index 4097769c45119eb3e7b68959dd72e0079c0b4196..b99825ade5dd090c1758036af6f3f7e9860d17b1 100644
--- a/rollup.utils.js
+++ b/rollup.utils.js
@@ -9,6 +9,10 @@ export function getBuildInfo(build) {
     let remote = child_process.execSync('git config --get remote.origin.url').toString().trim();
     let commit = child_process.execSync('git rev-parse --short HEAD').toString().trim();
 
+    if (remote.indexOf('git@') === 0) {
+        remote = remote.replace(':', '/').replace('git@', 'https://');
+    }
+
     let parsed = url.parse(remote);
     let newPath = parsed.path.slice(0, parsed.path.lastIndexOf('.'));
     let newUrl = parsed.protocol + '//' + parsed.host + newPath + '/commit/' + commit;