diff options
author | techknowlogick <techknowlogick@gitea.io> | 2019-07-08 22:24:52 -0400 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-07-09 03:24:52 +0100 |
commit | d7fccb29de20f0296a85b810f4ef08effd258c84 (patch) | |
tree | ab87766bf4decb3f9fa64b984b1829c369f90de4 /.drone.yml | |
parent | 3c3f74988ac25962b7d72ad32a70b399e5c0f2bc (diff) | |
download | gitea-d7fccb29de20f0296a85b810f4ef08effd258c84.tar.gz gitea-d7fccb29de20f0296a85b810f4ef08effd258c84.zip |
Fetch refs for successful testing for tag (#7388)
* Fetch refs for successful testing for tag
Fix #7382
* Update .drone.yml
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 13 |
1 files changed, 12 insertions, 1 deletions
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 |