@leverege/build-tools 2.2.4 → 2.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -69,7 +69,7 @@ fi
69
69
  git_origin=`git config --get remote.origin.url`
70
70
 
71
71
  if [[ $git_origin = https* ]]; then
72
- git_orgname=`echo $git_origin | cut -d "@" -f 2 | cut -d "/" -f 2`
72
+ git_orgname=`echo $git_origin | cut -d "/" -f 4`
73
73
  else
74
74
  git_orgname=`echo $git_origin | cut -d ":" -f 2 | cut -d "/" -f 1`
75
75
  fi
@@ -13,7 +13,7 @@ fi
13
13
  git_origin=`git config --get remote.origin.url`
14
14
 
15
15
  if [[ $git_origin = https* ]]; then
16
- git_orgname=`echo $git_origin | cut -d "@" -f 2 | cut -d "/" -f 2`
16
+ git_orgname=`echo $git_origin | cut -d "/" -f 4`
17
17
  else
18
18
  git_orgname=`echo $git_origin | cut -d ":" -f 2 | cut -d "/" -f 1`
19
19
  fi