Skip to content

Commit

Permalink
chore(ci): trigger release pipeline only when needed
Browse files Browse the repository at this point in the history
Trigger the release pipeline only when needed, i.e. when tagging with a tag starting with `v`.

Before, the release pipeline was always triggered when taggin, even when tagging to run the e2e tests without wanting to do a release, so there may be no release notes available. In this case the CI could fail because it will not find the release notes file.
  • Loading branch information
ralgozino committed Dec 5, 2024
1 parent d60a188 commit 04c8879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ platform:
trigger:
ref:
include:
- refs/tags/**
- refs/tags/v**
exclude:
- refs/tags/**-docs*

Expand All @@ -339,7 +339,7 @@ steps:
when:
ref:
include:
- refs/tags/**
- refs/tags/v**
exclude:
- refs/tags/**-docs*

Expand Down

0 comments on commit 04c8879

Please sign in to comment.