Skip to content

Commit

Permalink
Fetch refs for successful testing for tag (go-gitea#7388)
Browse files Browse the repository at this point in the history
  • Loading branch information
techknowlogick committed Jul 15, 2019
1 parent 33b1027 commit 92b993c
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 @@ -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
Expand All @@ -122,7 +133,7 @@ steps:
environment:
TAGS: bindata
depends_on:
- build
- tag-pre-condition
when:
event:
- tag
Expand Down

0 comments on commit 92b993c

Please sign in to comment.