From 336799ad48c2bbe77623680156c71b9efb4bd3fd Mon Sep 17 00:00:00 2001 From: Olivier BARTHELEMY Date: Sun, 30 Mar 2025 17:56:13 +0200 Subject: [PATCH] Fix release build command vendor folder needs to be inside lnd-source folder for the following comands to work, but the two tar commands extract them in separate folder --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 331066e02..b39a358d7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -119,8 +119,10 @@ jobs: that `vendor.tar.gz` and `lnd-source-${{ env.RELEASE_VERSION }}.tar.gz` are in the current directory, follow these steps: ``` - tar -xvzf vendor.tar.gz tar -xvzf lnd-source-${{ env.RELEASE_VERSION }}.tar.gz + mv vendor.tar.gz lnd-source/ + cd lnd-source + tar -xvzf vendor.tar.gz go install -v -mod=vendor -ldflags "-X github.com/lightningnetwork/lnd/build.Commit=${{ env.RELEASE_VERSION }}" ./cmd/lnd go install -v -mod=vendor -ldflags "-X github.com/lightningnetwork/lnd/build.Commit=${{ env.RELEASE_VERSION }}" ./cmd/lncli ```