Show the BETA_URL in make vars

This commit is contained in:
Nick Craig-Wood 2016-10-08 11:23:21 +01:00
parent fe53caf997
commit 618f2e33e8

View File

@ -4,6 +4,7 @@ LAST_TAG := $(shell git describe --tags --abbrev=0)
NEW_TAG := $(shell echo $(LAST_TAG) | perl -lpe 's/v//; $$_ += 0.01; $$_ = sprintf("v%.2f", $$_)') NEW_TAG := $(shell echo $(LAST_TAG) | perl -lpe 's/v//; $$_ += 0.01; $$_ = sprintf("v%.2f", $$_)')
GO_VERSION := $(shell go version) GO_VERSION := $(shell go version)
GO_LATEST := $(findstring go1.7,$(GO_VERSION)) GO_LATEST := $(findstring go1.7,$(GO_VERSION))
BETA_URL := http://beta.rclone.org/$(TAG)/
rclone: rclone:
go install -v ./... go install -v ./...
@ -15,6 +16,7 @@ vars:
@echo NEW_TAG="'$(NEW_TAG)'" @echo NEW_TAG="'$(NEW_TAG)'"
@echo GO_VERSION="'$(GO_VERSION)'" @echo GO_VERSION="'$(GO_VERSION)'"
@echo GO_LATEST="'$(GO_LATEST)'" @echo GO_LATEST="'$(GO_LATEST)'"
@echo BETA_URL="'$(BETA_URL)'"
# Full suite of integration tests # Full suite of integration tests
test: rclone test: rclone
@ -104,7 +106,7 @@ travis_beta:
./bin/cross-compile $(TAG)β ./bin/cross-compile $(TAG)β
rm build/*-current-* rm build/*-current-*
rclone --config bin/travis.rclone.conf -v copy build/ memstore:beta-rclone-org/$(TAG) rclone --config bin/travis.rclone.conf -v copy build/ memstore:beta-rclone-org/$(TAG)
@echo Beta release ready at http://beta.rclone.org/$(TAG)/ @echo Beta release ready at $(BETA_URL)
serve: website serve: website
cd docs && hugo server -v -w cd docs && hugo server -v -w