Try triggers
Some checks failed
continuous-integration/drone/tag Build was killed

This commit is contained in:
2022-11-02 16:18:25 +13:00
parent 5203103900
commit 581a725970

View File

@@ -80,6 +80,8 @@ local gen_release() =
when:
{ event: {include: ['tag']},
},
trigger:
{ event: {include: ['tag'],},},
};
local gen_pipeline_release() =
@@ -91,6 +93,8 @@ local gen_pipeline_release() =
when:
{ event: {include: ['tag']},
},
trigger:
{ event: {include: ['tag'],},},
};
// Generate the output
@@ -104,6 +108,8 @@ local gen_pipeline_release() =
name: 'Notify normal',
clone: {disable: true},
steps: [email_notification()],
trigger:
{ event: {exclude: ['tag'],},},
when:
{ status: [ 'success', 'failure' ] ,
event: {exclude: ['tag']},
@@ -118,6 +124,8 @@ local gen_pipeline_release() =
clone: {disable: true},
name: 'Notify Tagged release',
steps: [email_notification()],
trigger:
{ event: {include: ['tag'],},},
when:
{ status: [ 'success', 'failure' ] ,
event: {include: ['tag']},