Skip to content

[changelog] Changelog is generated even if disabled in Maven pom #1717

@charphi

Description

@charphi

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem (link to git repository is ideal)
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. Create a Maven pom with a GitHub release
  2. Set changelog enabled property to false

Expected Behaviour

JReleaser should skip changelog step.

Actual Behaviour

JReleaser generates a changelog file

Environment Information

  • Operating System: N/A
  • JReleaser Version: 1.14.0
  • JDK Version: N/A

See config : https://github.com/jdemetra/jwsacruncher/blob/d25cdf0a73677c3531cf2c817ef19d11674a3d2e/pom.xml#L790

release:
    github:
        enabled: true
        host: github.com
        owner: jdemetra
        name: jwsacruncher
        username: jdemetra
        token: ************
        artifacts: true
        files: true
        checksums: true
        catalogs: true
        signatures: true
        repoUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}
        repoCloneUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}.git
        commitUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/commits
        srcUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/blob/{{repoBranch}}
        downloadUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/{{artifactFile}}
        releaseNotesUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/tag/{{tagName}}
        latestReleaseUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/latest
        issueTrackerUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/issues
        tagName: v{{projectVersion}}
        releaseName: Release {{tagName}}
        branch: master
        branchPush: master
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        sign: false
        skipTag: true
        skipRelease: false
        overwrite: true
        update:
            enabled: false
        apiEndpoint: https://api.github.com
        connectTimeout: 20
        readTimeout: 60
        changelog:
            enabled: true
            append:
                enabled: false
            links: false
            skipMergeCommits: false
            sort: DESC
            formatted: NEVER
            hide:
            contributors:
        milestone:
            name: {{tagName}}
            close: true
        issues:
            enabled: false
            comment: 🎉 This issue has been resolved in `{{tagName}}` ([Release Notes]({{releaseNotesUrl}}))
            label:
                name: released
                color: #FF0000
                description: Issue has been released
        prerelease:
            enabled: true
        draft: false
        releaseNotes:
            enabled: false
[INFO] dry-run set to true
[INFO] Generating changelog
[INFO] Storing changelog: out/jreleaser/release/CHANGELOG.md

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleasedIssue has been released

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions