ci: 💚 generate current changelog in correct file
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
RaviAnand Mohabir 2024-06-27 16:31:02 +02:00
parent c2d715b440
commit 636fdecdcc

View File

@ -13,7 +13,7 @@ steps:
- git fetch --tags - git fetch --tags
- cz bump --annotated-tag --yes || (echo "An error occured while bumping the tag." && exit 0) - cz bump --annotated-tag --yes || (echo "An error occured while bumping the tag." && exit 0)
- git push --follow-tags - git push --follow-tags
- (cz changelog $(cz version -p) > CZ_CURRENT_CHANGELOG.md) || (echo "An error occured while generating the changelog." && exit 0) - cz changelog $(cz version -p) --file-name CZ_CURRENT_CHANGELOG.md || (echo "An error occured while generating the changelog." && exit 0)
environment: environment:
GIT_PASSWORD: GIT_PASSWORD:
from_secret: git_token from_secret: git_token