Skip to content

Commit 336799a

Browse files
bartoliOlivier Barthélémy
authored andcommitted
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
1 parent 856dc2d commit 336799a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,10 @@ jobs:
119119
that `vendor.tar.gz` and `lnd-source-${{ env.RELEASE_VERSION }}.tar.gz` are in the current directory, follow these steps:
120120
121121
```
122-
tar -xvzf vendor.tar.gz
123122
tar -xvzf lnd-source-${{ env.RELEASE_VERSION }}.tar.gz
123+
mv vendor.tar.gz lnd-source/
124+
cd lnd-source
125+
tar -xvzf vendor.tar.gz
124126
go install -v -mod=vendor -ldflags "-X github.com/lightningnetwork/lnd/build.Commit=${{ env.RELEASE_VERSION }}" ./cmd/lnd
125127
go install -v -mod=vendor -ldflags "-X github.com/lightningnetwork/lnd/build.Commit=${{ env.RELEASE_VERSION }}" ./cmd/lncli
126128
```

0 commit comments

Comments
 (0)