Skip to content

bug: custom template update mode requires changelog.default_templates.changelog_file #1057

Open
@codejedi365

Description

@codejedi365

Bug Report

Description

When trying to make a customized project template with update functionality. I realized that the ctx.prev_changelog_file value inside of the template is actually set by the changelog.default_templates.changelog_file setting. This is confusing to consumers as it looks like you are configuring the default templates. Need to find another way for a custom template_dir to define the previous changelog file to read from. Or recommend hard coding it into the template since it is custom.

Expected behavior

Actual behavior

Environment

  • Operating System (w/ version): MacOS
  • Python version: 3.12
  • Semantic-release version: 9.11.0

Configuration

Semantic Release Configuration

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working properly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions