Skip to content

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

@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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy