Skip to content

Commit 5b6a7d1

Browse files
committed
ci: fix 'make rpc' check
'git describe' may not work in CI because of Git shallow clones. We got false negative of this check: https://github.com/lightninglabs/loop/actions/runs/14556035205/job/40959214856 "fatal: No names found, cannot describe anything."
1 parent c209112 commit 5b6a7d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ rpc:
7676

7777
rpc-check: rpc
7878
@$(call print, "Verifying protos.")
79-
if test -n "$$(git describe --dirty | grep dirty)"; then echo "Protos not properly formatted or not compiled with correct version!"; git status; git diff; exit 1; fi
79+
if test -n "$$(git status --porcelain)"; then echo "Protos not properly formatted or not compiled with correct version!"; git status; git diff; exit 1; fi
8080

8181
rpc-js-compile:
8282
@$(call print, "Compiling JSON/WASM stubs.")

0 commit comments

Comments
 (0)