travis: add release stage

This commit is contained in:
Leo Antunes
2019-03-28 22:11:26 +01:00
parent b8e729298c
commit c3c00690b3
3 changed files with 17 additions and 1 deletions

View File

@ -3,4 +3,5 @@ VERSION=`git describe --tags --dirty --always`
LDFLAGS=-ldflags "-X main.version=${VERSION}"
build:
go build ${LDFLAGS} ${OPTS}
go build ${LDFLAGS} ${OPTS} -o wesher
sha256sum wesher > wesher.sha256