ci: 👷 handle changelog error gracefully and use annotated tags
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
500c0dd2ac
commit
eedaab42d5
@ -11,9 +11,9 @@ steps:
|
|||||||
"https://gitea.dikurium.ch/"
|
"https://gitea.dikurium.ch/"
|
||||||
- git config --global --add --bool push.autoSetupRemote true
|
- git config --global --add --bool push.autoSetupRemote true
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
- cz bump --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_PASSWORD:
|
GIT_PASSWORD:
|
||||||
from_secret: git_token
|
from_secret: git_token
|
||||||
@ -32,6 +32,8 @@ steps:
|
|||||||
notes_file: CZ_CURRENT_CHANGELOG.md
|
notes_file: CZ_CURRENT_CHANGELOG.md
|
||||||
owner: innopeak
|
owner: innopeak
|
||||||
repo: gqlgen-contrib
|
repo: gqlgen-contrib
|
||||||
|
skip_if_no_notes_file: true
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
Loading…
Reference in New Issue
Block a user