diff options
author | Wim <wim@42.be> | 2017-07-16 21:05:29 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-07-16 21:05:29 +0200 |
commit | 717023245f3a22dad6099f86c6b2a058005314fc (patch) | |
tree | 330e755e6668b9c5b0ddffb52fefa54955d6a1b8 | |
parent | 320be5bffa2a698a08787928251daa62caf30622 (diff) | |
download | matterbridge-msglm-717023245f3a22dad6099f86c6b2a058005314fc.tar.gz matterbridge-msglm-717023245f3a22dad6099f86c6b2a058005314fc.tar.bz2 matterbridge-msglm-717023245f3a22dad6099f86c6b2a058005314fc.zip |
Try travis bintray integration (2)
-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 } |