question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Release Count and Format is wrong

See original GitHub issue

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))

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:24 (12 by maintainers)

github_iconTop GitHub Comments

5reactions
stevie-commented, Apr 29, 2020

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

1reaction
TriPSscommented, Apr 29, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

GitVersion 5.0.1 resolves wrong commit count after merge ...
After merging new release with related tag to master to development, GitVersion resolves way too big commit count.
Read more >
Project count is wrong in solution explorer
Load a solution with multiple projects that are not in the SDK format (e.g. an ASP.NET MVC project). Verify Solution Explorer shows the...
Read more >
[Java] Wrong argument count complaint for String.format in ...
Analyze following code with the rule enabled: String. format("%1$s %1$s", 1); Says "Not enough arguments".
Read more >
Android lint: Wrong argument count format string [36985757]
I have a false positive with Android Lint, on the following code: String choosePicturesGallery = getString(R.string.declareren_choose_pictures_text_gallery);
Read more >
How to count the number of stories based on Fix Version ...
My scenario: I need to find Team-wise, the count of user stories ... if one story has 1 wrong-format release and 1 right-format...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found