Skip to content

Commit ce45672

Browse files
committed
chore: limit change
1 parent ca91ccd commit ce45672

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.drone.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,6 @@ steps:
109109
exclude:
110110
- pull_request
111111

112-
- name: tag-pre-condition
113-
pull: always
114-
image: alpine/git
115-
commands:
116-
- git update-ref refs/heads/tag_test ${DRONE_COMMIT_SHA}
117-
when:
118-
event:
119-
- tag
120-
121112
- name: build
122113
pull: always
123114
image: golang:1.13
@@ -159,6 +150,17 @@ steps:
159150
- push
160151
- pull_request
161152

153+
- name: tag-pre-condition
154+
pull: always
155+
image: alpine/git
156+
commands:
157+
- git update-ref refs/heads/tag_test ${DRONE_COMMIT_SHA}
158+
depends_on:
159+
- build
160+
when:
161+
event:
162+
- tag
163+
162164
- name: tag-test
163165
pull: always
164166
image: golang:1.13

0 commit comments

Comments
 (0)