mirror of
https://github.com/LBRYFoundation/herald.go.git
synced 2025-08-23 17:47:27 +00:00
minor
This commit is contained in:
parent
d99f993c21
commit
777ee5ee52
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
IMPORT_PATH="github.com/lbryio/hub/app"
|
IMPORT_PATH="github.com/lbryio/hub"
|
||||||
|
|
||||||
function print_and_die() {
|
function print_and_die() {
|
||||||
echo "$1"
|
echo "$1"
|
||||||
|
@ -21,7 +21,7 @@ echo "using tag $LATEST_TAG"
|
||||||
# Checkout latest tag
|
# Checkout latest tag
|
||||||
git 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 build . -t lbry/hub:latest
|
||||||
docker tag lbry/hub:latest lbry/hub:"$LATEST_TAG"
|
docker tag lbry/hub:latest lbry/hub:"$LATEST_TAG"
|
||||||
docker push lbry/hub:latest
|
docker push lbry/hub:latest
|
||||||
|
|
Loading…
Add table
Reference in a new issue