Skip to content

Commit 66082a3

Browse files
authored
Merge pull request #172 from cosmology-tech/feat/fix-build-update-submodules
Feat/fix build update submodules
2 parents 5b22099 + 97ccde6 commit 66082a3

File tree

48 files changed

+29472
-273056
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+29472
-273056
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- name: Update Git Submodules 🔄
2424
run: |
2525
make update-fixtures
26+
make submodule-status
2627
2728
- name: Install and Build v1 🏗️
2829
run: |

Makefile

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
1-
.PHONY: def update-registry update-fixtures
1+
.PHONY: def update-registry update-fixtures submodule-status
22

33
def: update-registry update-fixtures
44

55
update-registry:
66
@echo "Updating cosmos/chain-registry submodule to latest"
77
git submodule update --remote --init --recursive repos/chain-registry
8-
@echo "cosmos/chain-registry submodule is updated to latest"
98

109
update-fixtures:
1110
@echo "Updating chain-registry/chain-registry-fixtures submodule"
12-
git submodule sync repos/chain-registry-fixtures
13-
git submodule update repos/chain-registry-fixtures
14-
@echo "chain-registry/chain-registry-fixtures submodule is updated to the commit specified in .gitmodules"
11+
git submodule update --remote --init --recursive repos/chain-registry-fixtures
12+
13+
submodule-status:
14+
@echo "Checking submodule statuses..."
15+
@cd repos/chain-registry && \
16+
echo "Last 2 commits in repos/chain-registry:" && \
17+
git log -n 2 --oneline && \
18+
cd - >/dev/null
19+
@cd repos/chain-registry-fixtures && \
20+
echo "Last 2 commits in repos/chain-registry-fixtures:" && \
21+
git log -n 2 --oneline && \
22+
cd - >/dev/null
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)