From 777ee5ee52fb97fea649490afa10136cb8773e3c Mon Sep 17 00:00:00 2001 From: Alex Grin Date: Tue, 28 Sep 2021 08:31:11 -0400 Subject: [PATCH] minor --- build_and_push.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_and_push.sh b/build_and_push.sh index 23f9dc2..8ba2481 100755 --- a/build_and_push.sh +++ b/build_and_push.sh @@ -1,6 +1,6 @@ #!/bin/bash -IMPORT_PATH="github.com/lbryio/hub/app" +IMPORT_PATH="github.com/lbryio/hub" function print_and_die() { echo "$1" @@ -21,7 +21,7 @@ echo "using tag $LATEST_TAG" # Checkout latest tag git checkout "$LATEST_TAG" -CGO_ENABLED=0 go build -v -ldflags "-X ${IMPORT_PATH}/meta.version=${VERSION}" +CGO_ENABLED=0 go build -v -ldflags "-X ${IMPORT_PATH}/meta.Version=${VERSION}" docker build . -t lbry/hub:latest docker tag lbry/hub:latest lbry/hub:"$LATEST_TAG" docker push lbry/hub:latest