Fix bug with prerelease upload

This commit is contained in:
Cody Soyland 2018-02-15 16:32:08 -06:00
parent 34e9824c1c
commit f9c0c1548e
2 changed files with 3 additions and 2 deletions

View file

@ -18,7 +18,7 @@ before_deploy:
- pip install awscli --user `whoami`
deploy:
- provider: script
script: make prerelease-upload
script: make prerelease-upload GOOS=linux GOARCH=amd64
skip_cleanup: true
on:
all_branches: true

View file

@ -11,7 +11,8 @@ PKGS := $(shell cd $(GOPATH)/src/$(CLONE_URL); go list ./... | grep -v vendor)
BUILD_TIME=`date -u +%FT%T%z`
LDFLAGS="-X github.com/pilosa/pilosa.Version=$(VERSION) -X github.com/pilosa/pilosa.BuildTime=$(BUILD_TIME)"
DOCKER_GOLANG_IMAGE=golang:latest
BRANCH=$(shell git rev-parse --abbrev-ref HEAD)
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
BRANCH := $(if $(TRAVIS_BRANCH),$(TRAVIS_BRANCH),$(GIT_BRANCH))
BRANCH_IDENTIFIER := $(BRANCH)-$(GOOS)-$(GOARCH)
default: test pilosa