diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,11 +1,8 @@ #!/bin/bash -set -e - cd $(dirname "${BASH_SOURCE[0]}") OD="$(pwd)" - # Pushes application version into the build information. -RR_VERSION=1.0.1 +RR_VERSION=1.0.2 # Hardcode some values to the core package LDFLAGS="$LDFLAGS -X github.com/spiral/roadrunner/cmd/rr/cmd.Version=${RR_VERSION}" @@ -47,4 +44,4 @@ if [ "$1" == "all" ]; then exit fi -CGO_ENABLED=0 go build -ldflags "$LDFLAGS -extldflags '-static'" -o "$OD/rr" cmd/rr/main.go
\ No newline at end of file +CGO_ENABLED=0 go build -ldflags "$LDFLAGS -extldflags '-static'" -o "$OD/rr" cmd/rr/main.go |