From ce45672d1218ccebb1c7a8415982a84aabde4ddb Mon Sep 17 00:00:00 2001 From: Antoine GIRARD Date: Mon, 13 Jan 2020 00:18:53 +0100 Subject: [PATCH] chore: limit change --- .drone.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index a8d55e5687..b1ae27e171 100644 --- a/.drone.yml +++ b/.drone.yml @@ -109,15 +109,6 @@ steps: exclude: - pull_request - - name: tag-pre-condition - pull: always - image: alpine/git - commands: - - git update-ref refs/heads/tag_test ${DRONE_COMMIT_SHA} - when: - event: - - tag - - name: build pull: always image: golang:1.13 @@ -159,6 +150,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.13