Skip to content

Commit

Permalink
don't set apiversion.VERSION_STRING in build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
a3s7p committed Aug 5, 2021
1 parent c3642df commit b22687f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion contrib/build-bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ cp "$SRCDIR/LICENSE" "$SRCDIR/sub/initcmd/embedded/"
info "building ..."
CGO_ENABLED=0 go build -tags "$BUILD_TAGS" -o "$OUTDIR/wireleap-relay" -ldflags "
-X github.com/wireleap/relay/version.GITREV=$GITVERSION \
-X github.com/wireleap/common/api/apiversion.VERSION_STRING=$GITVERSION
"

[ -z "$BUILD_USER" ] || chown -R "$BUILD_USER" "$OUTDIR"
Expand Down
1 change: 0 additions & 1 deletion contrib/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,5 @@ go test \
-parallel "$NPROC" \
-ldflags "
$VERSIONS
-X github.com/wireleap/common/api/apiversion.VERSION_STRING=$GITVERSION
" \
"$@" ./...

0 comments on commit b22687f

Please sign in to comment.