Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit b363b03

Browse files
committed
bin: changed build-all.bash indentation.
1 parent 9a0b07b commit b363b03

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

bin/build-all.bash

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ REPO_ROOT=$(git rev-parse --show-toplevel)
2323
VERSION=$(git describe --tags --dirty)
2424
COMMIT_HASH=$(git rev-parse --short HEAD 2>/dev/null)
2525
DATE=$(date "+%Y-%m-%d")
26-
IMPORT_DURING_SOLVE=${IMPORT_DURING_SOLVE:-false}
2726

2827
if [[ "$(pwd)" != "${REPO_ROOT}" ]]; then
2928
echo "you are not in the root of the repo" 1>&2
@@ -33,10 +32,9 @@ fi
3332

3433
GO_BUILD_CMD="go build -a -installsuffix cgo"
3534
GO_BUILD_LDFLAGS="-s -w \
36-
-X main.commitHash=${COMMIT_HASH} \
37-
-X main.buildDate=${DATE} \
38-
-X main.version=${VERSION} \
39-
-X main.flagImportDuringSolve=${IMPORT_DURING_SOLVE}"
35+
-X internal.version.commitHash=${COMMIT_HASH} \
36+
-X internal.version.buildDate=${DATE} \
37+
-X internal.version.version=${VERSION}"
4038

4139
if [[ -z "${DEP_BUILD_PLATFORMS}" ]]; then
4240
DEP_BUILD_PLATFORMS="linux windows darwin freebsd"

0 commit comments

Comments
 (0)