Skip to content

Commit 8c4f715

Browse files
author
Vaughn Dice
committed
fix(bintray): assign each binary a name using unique version
1 parent 756e353 commit 8c4f715

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ client/client
2424
client/deis.exe
2525
client/*.run
2626
client/makeself/
27+
_dist/
2728
docs/_build/
2829
docs/docs.zip
2930
docs/dummy.sqlite3

_scripts/ci/bintray-template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"files": [
1111
{
12-
"includePattern": "_dist/(.*)",
12+
"includePattern": "client/_dist/(.*)",
1313
"uploadPattern": "$1"
1414
}
1515
],

client/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export GO15VENDOREXPERIMENT=1
33
# the filepath to this repository, relative to $GOPATH/src
44
repo_path = github.com/deis/workflow/client
55

6-
DEV_ENV_IMAGE := quay.io/deis/go-dev:0.5.0
6+
DEV_ENV_IMAGE := quay.io/deis/go-dev:0.7.0
77
DEV_ENV_WORK_DIR := /go/src/${repo_path}
88
DEV_ENV_PREFIX := docker run --rm -e GO15VENDOREXPERIMENT=1 -e CGO_ENABLED=0 -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_WORK_DIR}
99
DEV_ENV_CMD := ${DEV_ENV_PREFIX} ${DEV_ENV_IMAGE}
@@ -27,7 +27,6 @@ define check-static-binary
2727
endef
2828

2929
bootstrap:
30-
go get -u github.com/mitchellh/gox
3130
${DEV_ENV_CMD} glide install
3231

3332
glideup:
@@ -38,7 +37,7 @@ build:
3837
@$(call check-static-binary,deis)
3938

4039
build-all:
41-
gox -verbose \
40+
${DEV_ENV_CMD} gox -verbose \
4241
-os="linux darwin " \
4342
-arch="amd64 386" \
4443
-output="$(DIST_DIR)/deis-${VERSION}-{{.OS}}-{{.Arch}}" .

0 commit comments

Comments
 (0)