diff options
Diffstat (limited to 'ci/bintray.sh')
-rwxr-xr-x | ci/bintray.sh | 7 |
1 files changed, 3 insertions, 4 deletions
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 <<EOF { "package": { @@ -16,7 +15,7 @@ cat > deploy.json <<EOF }, "files": [ - {"includePattern": "binaries/(*)", "uploadPattern":"\$1"} + {"includePattern": "binaries/(.*)", "uploadPattern":"\$1"} ], "publish": true } |