mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-03 10:12:28 +02:00
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
This commit is contained in:
committed by
Olivier Barthélémy
parent
856dc2db79
commit
336799ad48
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user