Skip to content

Commit 1f620da

Browse files
committed
scripts: update protos script to remove old protos
1 parent 3a2c186 commit 1f620da

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/update_protos.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ FARADAY_URL="https://raw.githubusercontent.com/lightninglabs/faraday"
2020
TAPD_URL="https://raw.githubusercontent.com/lightninglabs/taproot-assets"
2121
LIT_URL="https://raw.githubusercontent.com/lightninglabs/lightning-terminal"
2222

23+
# remove old protos
24+
rm -rf protos
25+
26+
# download new protos
2327
curl ${LND_URL}/${LND_RELEASE_TAG}/lnrpc/lightning.proto --create-dirs -o protos/lnd/${LND_RELEASE_TAG}/lightning.proto
2428
curl ${LND_URL}/${LND_RELEASE_TAG}/lnrpc/walletunlocker.proto --create-dirs -o protos/lnd/${LND_RELEASE_TAG}/walletunlocker.proto
2529
curl ${LND_URL}/${LND_RELEASE_TAG}/lnrpc/autopilotrpc/autopilot.proto --create-dirs -o protos/lnd/${LND_RELEASE_TAG}/autopilotrpc/autopilot.proto

0 commit comments

Comments
 (0)