7 lines
383 B
Bash
7 lines
383 B
Bash
|
#!/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
|