File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ release-install:
95
95
96
96
release :
97
97
@$(call print, "Creating release of lndinit.")
98
- ./release.sh build-release " $( VERSION_TAG) " " $( BUILD_SYSTEM) " " $( RELEASE_LDFLAGS) "
98
+ ./release.sh build-release " $( VERSION_TAG) " " $( BUILD_SYSTEM) " " $( RELEASE_LDFLAGS) " " $( RELEASE_TAGS ) "
99
99
100
100
docker-tools :
101
101
@$(call print, "Building tools docker image.")
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ function build_release() {
28
28
local tag=$1
29
29
local sys=$2
30
30
local ldflags=$3
31
+ local tags=$4
31
32
32
33
green " - Packaging vendor"
33
34
go mod vendor
@@ -64,7 +65,7 @@ function build_release() {
64
65
pushd " ${dir} "
65
66
66
67
green " - Building: ${os} ${arch} ${arm} "
67
- env CGO_ENABLED=0 GOOS=$os GOARCH=$arch GOARM=$arm go build -v -trimpath -ldflags=" ${ldflags} " ${PKG}
68
+ env CGO_ENABLED=0 GOOS=$os GOARCH=$arch GOARM=$arm go build -v -trimpath -ldflags=" ${ldflags} " -tags= " ${tags} " ${PKG}
68
69
popd
69
70
70
71
if [[ $os == " windows" ]]; then
You can’t perform that action at this time.
0 commit comments