Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi committed Jan 30, 2022
1 parent 1fab275 commit 408fd25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build () {
exeName="$4"
echo "Building $exeName for $GOOS-$GOARCH ..."

CGO_ENABLED=0 jf go build -o "$exeName" -ldflags '-w -extldflags "-static" -X main.cliVersion='${version:1} main.go
CGO_ENABLED=0 jf go build -o "$exeName" -ldflags '-w -extldflags "-static" -X main.cliVersion='$version main.go
chmod +x $exeName

# Run verification after building plugin for the correct platform of this image.
Expand Down

0 comments on commit 408fd25

Please sign in to comment.