ci: 👷 handle changelog failure gracefully
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
3509a5c98f
commit
ceb8a8bc8e
@ -14,13 +14,12 @@ steps:
|
|||||||
- pip install -U Commitizen
|
- pip install -U Commitizen
|
||||||
- cz bump --annotated-tag --yes
|
- cz bump --annotated-tag --yes
|
||||||
- git push --follow-tags
|
- git push --follow-tags
|
||||||
- cz changelog $(cz version -p) > CZ_CURRENT_CHANGELOG.md
|
- cz changelog $(cz version -p) > CZ_CURRENT_CHANGELOG.md || echo "An error occured while generating the changelog."
|
||||||
environment:
|
environment:
|
||||||
GIT_USERNAME:
|
GIT_USERNAME:
|
||||||
from_secret: git_username
|
from_secret: git_username
|
||||||
GIT_PASSWORD:
|
GIT_PASSWORD:
|
||||||
from_secret: git_password
|
from_secret: git_password
|
||||||
failure: ignore
|
|
||||||
- name: publish Docker image
|
- name: publish Docker image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
@ -42,8 +41,7 @@ steps:
|
|||||||
notes_file: CZ_CURRENT_CHANGELOG.md
|
notes_file: CZ_CURRENT_CHANGELOG.md
|
||||||
owner: innopeak
|
owner: innopeak
|
||||||
repo: drone-gitea-release
|
repo: drone-gitea-release
|
||||||
depends_on:
|
skip_if_no_notes_file: true
|
||||||
- bump tag
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
Loading…
Reference in New Issue
Block a user