You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding tag from git command is different from tagging from
github web, the branch is refs/tags/* instead of releases/*
. Add refs/tags/* to branch so tag from git command can
also publish builds.
(cherry picked from commit c9c079e)
Copy file name to clipboardExpand all lines: .drone.yml
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -235,7 +235,7 @@ pipeline:
235
235
cache_control: 'public,max-age=3600'
236
236
when:
237
237
repo: vmware/vic
238
-
branch: ['releases/*']
238
+
branch: ['releases/*', 'refs/tags/*']
239
239
event: tag
240
240
status: success
241
241
@@ -267,7 +267,7 @@ pipeline:
267
267
when:
268
268
repo: vmware/vic
269
269
event: tag
270
-
branch: 'releases/*'
270
+
branch: ['releases/*', 'refs/tags/*']
271
271
status: success
272
272
273
273
vic-machine-server-publish:
@@ -280,7 +280,7 @@ pipeline:
280
280
when:
281
281
repo: vmware/vic
282
282
event: [push, tag]
283
-
branch: [master, 'releases/*']
283
+
branch: [master, 'releases/*', 'refs/tags/*']
284
284
status: success
285
285
286
286
trigger-downstream:
@@ -295,7 +295,7 @@ pipeline:
295
295
when:
296
296
repo: vmware/vic
297
297
event: [push, tag]
298
-
branch: [master, 'releases/*']
298
+
branch: [master, 'releases/*', 'refs/tags/*']
299
299
status: success
300
300
301
301
notify-slack-on-fail:
@@ -308,7 +308,7 @@ pipeline:
308
308
when:
309
309
repo: vmware/vic
310
310
event: [push, tag]
311
-
branch: [master, 'releases/*']
311
+
branch: [master, 'releases/*', 'refs/tags/*']
312
312
status: failure
313
313
314
314
notify-slack-on-pass:
@@ -333,7 +333,7 @@ pipeline:
333
333
template: "The latest version of VIC engine has been released, find the build here: https://console.cloud.google.com/storage/browser/vic-engine-releases\n"
0 commit comments