From d7fccb29de20f0296a85b810f4ef08effd258c84 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Mon, 8 Jul 2019 22:24:52 -0400 Subject: [PATCH] Fetch refs for successful testing for tag (#7388) * Fetch refs for successful testing for tag Fix #7382 * Update .drone.yml --- .drone.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 086b5cd2b5..c07179b95d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 @@ -124,7 +135,7 @@ steps: environment: TAGS: bindata depends_on: - - build + - tag-pre-condition when: event: - tag