mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 15:38:57 +01:00
build: upload circleci builds for the beta release
This commit is contained in:
parent
60558b5d37
commit
fc4f20d52f
@ -29,6 +29,19 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
mkdir -p /tmp/rclone.dist
|
mkdir -p /tmp/rclone.dist
|
||||||
cp -R rclone-* /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:
|
- store_artifacts:
|
||||||
path: /tmp/rclone.dist
|
path: /tmp/rclone.dist
|
||||||
|
7
Makefile
7
Makefile
@ -185,6 +185,13 @@ ifndef BRANCH_PATH
|
|||||||
endif
|
endif
|
||||||
@echo Beta release ready at $(BETA_URL)
|
@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)/"
|
BUILD_FLAGS := -exclude "^(windows|darwin)/"
|
||||||
ifeq ($(TRAVIS_OS_NAME),osx)
|
ifeq ($(TRAVIS_OS_NAME),osx)
|
||||||
BUILD_FLAGS := -include "^darwin/" -cgo
|
BUILD_FLAGS := -include "^darwin/" -cgo
|
||||||
|
Loading…
Reference in New Issue
Block a user