diff --git a/ci/bintray.sh b/ci/bintray.sh index 8bb70176..0d3efa6e 100755 --- a/ci/bintray.sh +++ b/ci/bintray.sh @@ -1,9 +1,8 @@ #!/bin/bash VERSION=$(git describe --tags) +mkdir ci/binaries +go build -x -ldflags "-s -w -X main.githash=$(git log --pretty=format:'%h' -n 1)" -o ci/binaries/matterbridge-$VERSION-$GOOS-$GOARCH cd ci -mkdir binaries -go build -x -ldflags "-s -w -X main.githash=$(git log --pretty=format:'%h' -n 1) -o binaries/matterbridge-$VERSION-$GOOS-$GOARCH - cat > deploy.json < deploy.json <