From a0a836ebc6d20f0270e35876ac1e0ce9344c86f3 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Wed, 24 Mar 2021 18:32:00 -0700 Subject: [PATCH] drone.yml triggers to filter --- .drone.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.drone.yml b/.drone.yml index 7cbf4e0..e2c61aa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,10 +18,13 @@ steps: - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc - chmod a+x tor - go get -u golang.org/x/lint/golint + - git fetch --tags #- export GO111MODULE=on #- go mod vendor - go get # TODO: upgrade to go1.16, remove mod/vendor, add go install for 1.16 + - echo `git describe --tags` > VERSION + - echo `date +%G-%m-%d-%H-%M` > BUILDDATE - name: quality image: golang volumes: @@ -101,3 +104,10 @@ volumes: # gopath where bin and pkg lives to persist across steps - name: deps temp: {} + +trigger: + repo: flutter/libcwtch-go + branch: trunk + event: + - push + - pull_request