Browse Source

Fetch refs for successful testing for tag (#7388)

* Fetch refs for successful testing for tag

Fix #7382

* Update .drone.yml
tags/v1.11.0-dev
techknowlogick zeripath 6 years ago
parent
commit
9bf759b8eb
1 changed files with 12 additions and 1 deletions
  1. +12
    -1
      .drone.yml

+ 12
- 1
.drone.yml View File

@@ -116,6 +116,17 @@ steps:
- push - push
- pull_request - 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 - name: tag-test
pull: always pull: always
image: golang:1.12 image: golang:1.12
@@ -124,7 +135,7 @@ steps:
environment: environment:
TAGS: bindata TAGS: bindata
depends_on: depends_on:
- build
- tag-pre-condition
when: when:
event: event:
- tag - tag


Loading…
Cancel
Save