@jswork/ushell-module-git 1.0.9 → 1.0.10

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/modules/01-gcd.sh CHANGED
@@ -2,6 +2,12 @@
2
2
  GIT_URL=$1;
3
3
  dir=`basename $GIT_URL .git`;
4
4
  orgname=`echo $GIT_URL | awk -F [:/] '{print$2}'`;
5
+ hub=`echo $GIT_URL | awk -F [:/] '{print$1}'`;
6
+
7
+ # if is hub is saybot
8
+ if [ $hub == 'git@git.saybot.net' ]; then
9
+ orgname='saybot';
10
+ fi
5
11
 
6
12
  # A special case for `afeiship` org.
7
13
  if [ $orgname == 'afeiship' ]; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jswork/ushell-module-git",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Unix like shell module for git.",
5
5
  "main": "index.sh",
6
6
  "repository": {