ytsync/scripts/deploy.sh

7 lines
383 B
Bash
Raw Normal View History

2019-02-27 20:14:26 +01:00
#!/usr/bin/env bash
export IMPORTPATH="github.com/lbryio/ytsync"
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