github-origin-https-to-ssh
Advanced tools
@@ -14,3 +14,3 @@ #!/usr/bin/env bash | ||
| USER=`echo $REPO_URL | sed -Ene's#https://github.com/([^/]*)/(.*).git#\1#p'` | ||
| USER=`echo $REPO_URL | sed -Ene's#https://github.com/([^/]*)/(.*).*#\1#p'` | ||
| if [ -z "$USER" ]; then | ||
@@ -21,3 +21,3 @@ echo "-- ERROR: Could not identify User." | ||
| REPO=`echo $REPO_URL | sed -Ene's#https://github.com/([^/]*)/(.*).git#\2#p'` | ||
| REPO=`echo $REPO_URL | sed -Ene's#https://github.com/([^/]*)/(.*).*#\2#p'` | ||
| if [ -z "$REPO" ]; then | ||
@@ -24,0 +24,0 @@ echo "-- ERROR: Could not identify Repo." |
+3
-3
| { | ||
| "name": "github-origin-https-to-ssh", | ||
| "version": "1.0.6", | ||
| "version": "1.0.7", | ||
| "description": "Convert GitHub origin urls from HTTPS to SSH", | ||
@@ -29,5 +29,5 @@ "bin": { | ||
| "coordinates": [ | ||
| 42.38904489999999, | ||
| -71.1201748 | ||
| 45.5192014, | ||
| -73.5789198 | ||
| ] | ||
| } |
2512
-0.44%