build: upload circleci builds for the beta release

This commit is contained in:
Nick Craig-Wood 2019-01-15 11:46:39 +00:00
parent 60558b5d37
commit fc4f20d52f
2 changed files with 20 additions and 0 deletions

View File

@ -29,6 +29,19 @@ jobs:
command: |
mkdir -p /tmp/rclone.dist
cp -R rclone-* /tmp/rclone.dist
mkdir build
cp -R rclone-* build/
- run:
name: Build rclone
command: |
go version
go build
- run:
name: Upload artifacts
command: |
make circleci_upload
- store_artifacts:
path: /tmp/rclone.dist

View File

@ -185,6 +185,13 @@ ifndef BRANCH_PATH
endif
@echo Beta release ready at $(BETA_URL)
circleci_upload:
./rclone --config bin/travis.rclone.conf -v copy build/ $(BETA_UPLOAD)/testbuilds
ifndef BRANCH_PATH
-#./rclone --config bin/travis.rclone.conf -v copy build/ $(BETA_UPLOAD_ROOT)/testbuilds
endif
@echo Beta release ready at $(BETA_URL)/testbuilds
BUILD_FLAGS := -exclude "^(windows|darwin)/"
ifeq ($(TRAVIS_OS_NAME),osx)
BUILD_FLAGS := -include "^darwin/" -cgo