From 4503e1577abbf2bcde0be0c7826144c4764ea420 Mon Sep 17 00:00:00 2001 From: csgeek Date: Fri, 28 May 2021 22:15:43 -0700 Subject: [PATCH] CI release enabled ChangeLog: - Enable automated releases based on tag push --- .drone.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.drone.yml b/.drone.yml index f7c6714b..efd618d2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,3 +9,23 @@ steps: - cp conf/importer-example.yml conf/importer.yml - ./bin/grafana-dashboard-manager_linux version +trigger: + event: + - push + - pull_request +--- +kind: pipeline +name: release + +steps: + - name: release + image: golang:1.16 + commands: + - go install github.com/goreleaser/goreleaser@v0.166.1 + - goreleaser check + - make release + +trigger: + event: + - tag +