diff options
author | Matti R | 2019-07-15 10:16:10 -0400 |
---|---|---|
committer | Matti R | 2019-07-15 10:16:10 -0400 |
commit | 92b993c91f3b5db942903c07ced64dbc9bc4ac0e (patch) | |
tree | 3e0604dd5c3e230d6a3bdaa9e7cc6f3ae03a65fd | |
parent | 33b1027c761cfa6dfee5a65ab00cc6134c8788d0 (diff) |
Fetch refs for successful testing for tag (#7388)v1.9.0-rc2
-rw-r--r-- | .drone.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml index 9c0759994..821d5ef39 100644 --- a/.drone.yml +++ b/.drone.yml @@ -114,6 +114,17 @@ steps: - push - pull_request + - name: tag-pre-condition + pull: always + image: alpine/git + commands: + - git update-ref refs/heads/tag_test ${DRONE_COMMIT_SHA} + depends_on: + - build + when: + event: + - tag + - name: tag-test pull: always image: golang:1.12 @@ -122,7 +133,7 @@ steps: environment: TAGS: bindata depends_on: - - build + - tag-pre-condition when: event: - tag |