@san-siva/gitsy 1.0.19 → 1.0.21

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.
Files changed (3) hide show
  1. package/bin/g-pull +2 -0
  2. package/bin/utils +1 -1
  3. package/package.json +1 -1
package/bin/g-pull CHANGED
@@ -69,9 +69,11 @@ main() {
69
69
  print_message "${BLUE}Fetching changes...${NC}" 1
70
70
  fetch_changes "$target_branch"
71
71
  pull_changes "$target_branch" 2
72
+ sync_submodules 3
72
73
  exit 0
73
74
  fi
74
75
  pull_changes "$target_branch" 1
76
+ sync_submodules 2
75
77
  }
76
78
 
77
79
 
package/bin/utils CHANGED
@@ -652,7 +652,7 @@ sync_submodules() {
652
652
 
653
653
  print_message "${BLUE}Syncing submodules...${NC}" $step_number
654
654
 
655
- if ! git -c color.ui=always submodule update --init 2>&1 | indent; then
655
+ if ! git -c color.ui=always submodule update --init --recursive 2>&1 | indent; then
656
656
  print_message "" -1
657
657
  print_message "${RED}Failed to sync submodules. [Fail]${NC}" -1
658
658
  exit 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@san-siva/gitsy",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "A set of bash utilities for managing Git repositories with ease",
5
5
  "keywords": [
6
6
  "git",