lbry.go/scripts/deploy.sh

8 lines
388 B
Bash
Raw Permalink Normal View History

2019-05-10 14:10:56 +02:00
#!/usr/bin/env bash
2019-10-10 05:16:23 +02:00
export IMPORTPATH="github.com/lbryio/lbry.go/v2"
2019-05-10 14:10:56 +02:00
export VERSIONSHORT="${TRAVIS_COMMIT:-"$(git describe --tags --always --dirty)"}"
export VERSIONLONG="${TRAVIS_COMMIT:-"$(git describe --tags --always --dirty --long)"}"
export COMMITMSG="$(echo ${TRAVIS_COMMIT_MESSAGE:-"$(git show -s --format=%s)"} | tr -d '"' | head -n 1)"
curl -sL https://git.io/goreleaser | bash