conventional-changelog-action: Release Count and Format is wrong

Hi, thanks for the Action.

we use it in our workflow. It updates CHANGELOG.md, package.json and creates a new tag. But the format of the Changelog is not what we expect. There is just one release in the changelog. Also different to the npm cli version, there is no git compare link to the previous tag.

Our workflow config:

      - uses: actions/checkout@master
      - name: Conventional Changelog Action
        uses: TriPSs/conventional-changelog-action@v1.3.0
        with:
          github-token: ${{ secrets.github_token }}
          git-message: "chore(release): {version}"
          preset: "angular"
          tag-prefix: "v"
          output-file: "CHANGELOG.md"
          changelog-release-count: 10

currrent Changelog.md

$ cat CHANGELOG.md
## 0.0.6 (2020-04-16)


expected Changelog generated with CLI

$ conventional-changelog -p angular -k ./package.json -r 10 -t v
## [0.0.6](https://github.com/REDACTED/compare/v0.0.5...v0.0.6) (2020-04-16)



## [0.0.5](https://github.com/REDACTED/compare/v0.0.4...v0.0.5) (2020-04-15)


### Bug Fixes

* **changelog:** rebuild changelog ([REDACTED](https://github.com/REDACTED/commit/REDACTED))
* **changelog:** use latest stable ([REDACTED](https://github.com/REDACTED/commit/REDACTED))



## [0.0.4](https://github.com/REDACTED/compare/v0.0.3...v0.0.4) (2020-04-15)


### Bug Fixes

* **git:** case-insensitive filesystem ([REDACTED](https://github.com/REDACTED/commit/REDACTED))



## [0.0.3](https://github.com/REDACTED/compare/v0.0.2...v0.0.3) (2020-04-15)


### Bug Fixes

* **pipeline:** only validate when code is correct ([REDACTED](https://github.com/REDACTED/commit/REDACTED))



## [0.0.2](https://github.com/REDACTED/compare/REDACTED...v0.0.2) (2020-04-15)


### Bug Fixes

* **pipeline:** fix module test ([REDACTED](https://github.com/REDACTED/commit/REDACTED))
* **pipeline:** fix typo in ref ([REDACTED](https://github.com/REDACTED/commit/REDACTED))
* **pipeline:** initial version setup ([REDACTED](https://github.com/REDACTED/commit/REDACTED))
* **pipeline:** wait for other jobs before releasing ([REDACTED](https://github.com/REDACTED/commit/REDACTED))
* **s3:** correct transition rule type ([REDACTED](https://github.com/REDACTED/commit/REDACTED))


### Features

* **pipeline:** release version on successfull tests if master branch ([REDACTED](https://github.com/REDACTED/commit/REDACTED))

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 24 (12 by maintainers)

Most upvoted comments

@TriPSs Thanks for latest version. v2.1.1 solves the changelog issue.

Or try TriPSs/conventional-changelog-action@v2.1.1, i just released this version and it’s changelog looks good and is also using checkout v2

The docs are right, config is overwritten, but the options != config, options.config will become the config from the preset. Release count is added to the options and preset is to.

I just tested it on a repo and everything went as expected.