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