semantic-release / semantic-release/release-notes-generator

Unable to get changelog with commits using ember preset

Open
#328 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
368
Forks
55
Avg merge
10m
Merged PRs (30d)
1

Description

Hello,

I'm trying to use semantic release using ember preset, but i cannot achieve to generate release notes with commit details.

My .releaserc config :

debug: false
tagFormat: "${version}"
preset: ember
plugins:
  - - "@semantic-release/commit-analyzer"
  - - "@semantic-release/release-notes-generator"
  - - "@semantic-release/gitlab"
  - - "@semantic-release/changelog"
    - changelogFile: "CHANGELOG.md"
  - - "@semantic-release/exec"
    - prepareCmd: "bash bump.sh \"${lastRelease.version}\" \"${nextRelease.version}\" \"${nextRelease.type}\""
  - - "@semantic-release/git"
    - message: "[BUMP] Increment version"
      assets:
        - README.md
        - current_version.txt
        - CHANGELOG.md
branches:
  - "master"

I get CHANGELOG.md updated with only release references:

## [3.1.12](https://gitlab.com/xxxx/test-ci/compare/3.1.11...3.1.12) (2022-03-29)

## [3.1.11](https://gitlab.com/xxxx/test-ci/compare/3.1.10...3.1.11) (2022-03-29)
[...]

Using default commit format and preset, I get details about commits in CHANGELOG.md:

## [3.1.10](https://gitlab.com/xxxxx/test-ci/compare/3.1.9...3.1.10) (2022-03-29)

### Bug Fixes

* **test:** test 22 ([53d65be](https://gitlab.com/xxxxxx/test-ci/commit/53d65be733b1d1c45d4e407222af19096c5055e9))

Any idea how i could achieve commit listing in changelog using ember preset ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported .releaserc configuration and compare the ember preset output in CHANGELOG.md with the default preset output shown in the issue. Trace how the release-notes-generator handles the preset and commit details, then verify that generated entries include commit listings while preserving the release references.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.