1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 02:03:10 +00:00

Fetch refs for successful testing for tag (#7388)

* Fetch refs for successful testing for tag

Fix #7382

* Update .drone.yml
This commit is contained in:
techknowlogick 2019-07-08 22:24:52 -04:00 committed by zeripath
parent 3c3f74988a
commit d7fccb29de

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