# Generate-changelog step generates empty CHANGELOG.md

**URL:** <https://discuss.bitrise.io/t/generate-changelog-step-generates-empty-changelog-md/10544>\
**Category:** Tooling Issues\
**Tags:** step\
**Created:** [October 9, 2019, 4:52pm UTC](https://discuss.bitrise.io/t/generate-changelog-step-generates-empty-changelog-md/10544 "2019-10-09T16:52:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andriy.gulak](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@andriy.gulak](https://discuss.bitrise.io/u/andriy.gulak)\
**Post date:** [October 9, 2019, 4:52pm UTC](https://discuss.bitrise.io/t/generate-changelog-step-generates-empty-changelog-md/10544/1 "2019-10-09T16:52:46Z")

</div>

The problem is the following:  
I have a build that was triggered by a git tag creation, let’s say it’s 1.1.2. Right after that, I decided to create another tag 1.1.3, but this last build caused by git tag 1.1.3 creation has failed because of the empty CHANGELOG.md generated by the “Generate changelog” step and “Upload to Bitrise Step” can’t handle empty CHANGELOG.md

So, I have the following list of files to deploy

- /Users/vagrant/deploy/CHANGELOG.md
- /Users/vagrant/deploy/app-release.apk
- /Users/vagrant/deploy/app.aab

app.aab and app-release.apk uploaded successfully, but CHANGELOG.md had 0b size, so the whole step has failed and the build as well

I’m using the env var $BITRISE\_CHANGELOG generated by this step for a slack message.

 ![failed](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/6/6d89546426c7c57bc6a9267dac1ace0d3b94f06c.png)

versions:  
generate-changelog 0.9.0  
deploy-to-bitrise-io 1.9.1

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [November 8, 2019, 4:52pm UTC](https://discuss.bitrise.io/t/generate-changelog-step-generates-empty-changelog-md/10544/2 "2019-11-08T16:52:48Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
