mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-11 06:14:40 +02: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:
1 parent
3c3f74988a
commit
d7fccb29de
1 file changed
+12
-1
+12
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user