Skip to content

Possibility to include lastReleaseTag as a Substitution? #95

@skbhardwaj

Description

@skbhardwaj

Hi,

In one of our projects, we have a tag for each branch pushes.
For ex:
for master(for PROD env), we create tags like: 1.2.1, 1.2.2, etc
for dev(for DEV env), we create a non-prod tag something like 1.2.1-dev.0, 1.2.1-dev.1, etc (last prod tag + suffix like "dev.0")

While creating a release notes / Changelog, it is is autogenerated like:

# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.4.2]({{host}}/{{owner}}/{{repository}}/compare/compare/1.4.1-dev.20...1.4.2) (2025-02-20)

and what we desire is:

# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.4.2]({{host}}/{{owner}}/{{repository}}/compare/compare/1.4.1...1.4.2) (2025-02-20)

So is there a way to do this like:
FROM:
{{host}}/{{owner}}/{{repository}}/compare/{{previousTag}}...{{currentTag}}
TO:
{{host}}/{{owner}}/{{repository}}/compare/{{lastReleaseTag}}...{{currentTag}}

Could you please suggest what can be done here?

Thanks & regards,
Shri

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions