mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-21 18:22:00 -08:00
Try travis bintray integration (2)
This commit is contained in:
parent
320be5bffa
commit
717023245f
@ -1,9 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
VERSION=$(git describe --tags)
|
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
|
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
|
cat > deploy.json <<EOF
|
||||||
{
|
{
|
||||||
"package": {
|
"package": {
|
||||||
@ -16,7 +15,7 @@ cat > deploy.json <<EOF
|
|||||||
},
|
},
|
||||||
"files":
|
"files":
|
||||||
[
|
[
|
||||||
{"includePattern": "binaries/(*)", "uploadPattern":"\$1"}
|
{"includePattern": "binaries/(.*)", "uploadPattern":"\$1"}
|
||||||
],
|
],
|
||||||
"publish": true
|
"publish": true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user