commit 3a4fd8360f4f7e9c4bfcccd3765f2e7aab14ddf0
Author: Wim <wim@42.be>
Date: Sun Jul 16 21:05:29 2017 +0000
diff --git a/ci/bintray.sh b/ci/bintray.sh
index 8bb7017..0d3efa6 100755
--- a/ci/bintray.sh
+++ b/ci/bintray.sh
@@ -19 +18 @@
#!/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
{
@@ -167 +157 @@ cat > deploy.json <<EOF
- {"includePattern": "binaries/(*)", "uploadPattern":"\$1"}
+ {"includePattern": "binaries/(.*)", "uploadPattern":"\$1"}
}