Skip to content

Commit

Permalink
Fetch refs for successful testing for tag (#7388)
Browse files Browse the repository at this point in the history
* Fetch refs for successful testing for tag

Fix #7382

* Update .drone.yml
  • Loading branch information
techknowlogick authored and zeripath committed Jul 9, 2019
1 parent 3c3f749 commit d7fccb2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,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
Expand All @@ -124,7 +135,7 @@ steps:
environment:
TAGS: bindata
depends_on:
- build
- tag-pre-condition
when:
event:
- tag
Expand Down

0 comments on commit d7fccb2

Please sign in to comment.