Remove check for local drone version (#41535)

This commit is contained in:
Dimitris Sotirakis 2021-11-12 16:08:43 +02:00 committed by GitHub
parent 6fe29dda33
commit 2b2c0b8b5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,9 +15,6 @@ SH_FILES ?= $(shell find ./scripts -name *.sh)
all: deps build
drone-version:
DRONE_VERSION := $(shell drone -v | cut -d' ' -f3)
##@ Dependencies
deps-go: ## Install backend dependencies.
@ -154,9 +151,6 @@ clean: ## Clean up intermediate build artifacts.
# Use this make target to regenerate the configuration YAML files when
# you modify starlark files.
drone: $(DRONE)
@if [ "$(DRONE_VERSION)" != "1.4.0" ]; then\
echo "WARN: You are using drone-cli ${DRONE_VERSION}. Please update your LOCAL version to 1.4.0. Using latest bingo version...";\
fi
$(DRONE) starlark --format
$(DRONE) lint .drone.yml
$(DRONE) --server https://drone.grafana.net sign --save grafana/grafana