Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to include lastReleaseTag as a Substitution? #95

Open
skbhardwaj opened this issue Feb 20, 2025 · 0 comments
Open

Possibility to include lastReleaseTag as a Substitution? #95

skbhardwaj opened this issue Feb 20, 2025 · 0 comments

Comments

@skbhardwaj
Copy link

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

@skbhardwaj skbhardwaj changed the title Possibility to include lastReleaseTag as a Substitutions? Possibility to include lastReleaseTag as a Substitution? Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant