Fetch refs for successful testing for tag (#7388)

This commit is contained in:
Matti R 2019-07-15 10:16:10 -04:00
parent 33b1027c76
commit 92b993c91f
No known key found for this signature in database
GPG key ID: 9D8A57ADAA232E95

View file

@ -114,6 +114,17 @@ steps:
- push - push
- pull_request - 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 - name: tag-test
pull: always pull: always
image: golang:1.12 image: golang:1.12
@ -122,7 +133,7 @@ steps:
environment: environment:
TAGS: bindata TAGS: bindata
depends_on: depends_on:
- build - tag-pre-condition
when: when:
event: event:
- tag - tag