feat(ci): add condition for tag handling in CI pipeline
Includes a new condition in the CI pipeline to handle situations where the commit is a tag. This improves the robustness of the pipeline by ensuring that specific actions are only executed for tagged commits, thereby optimizing the release process.
This commit is contained in:
@@ -185,6 +185,7 @@ unbound_release_prepare_release:
|
||||
- if: $CI_COMMIT_TAG == null && $CI_DEFAULT_BRANCH != $CI_COMMIT_BRANCH
|
||||
when: never
|
||||
- if: $CI_DEFAULT_BRANCH == $CI_COMMIT_BRANCH
|
||||
- if: $CI_COMMIT_TAG
|
||||
|
||||
unbound_release_create_release:
|
||||
stage: .pre
|
||||
|
||||
Reference in New Issue
Block a user