|
|
@ -109,15 +109,6 @@ steps: |
|
|
|
exclude: |
|
|
|
exclude: |
|
|
|
- pull_request |
|
|
|
- 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 |
|
|
|
- name: build |
|
|
|
pull: always |
|
|
|
pull: always |
|
|
|
image: golang:1.13 |
|
|
|
image: golang:1.13 |
|
|
@ -159,6 +150,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.13 |
|
|
|
image: golang:1.13 |
|
|
|