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

Gitlab compare link broken #54

Open
SirBigoo opened this issue Dec 31, 2024 · 1 comment
Open

Gitlab compare link broken #54

SirBigoo opened this issue Dec 31, 2024 · 1 comment

Comments

@SirBigoo
Copy link

Hello,

Compare link in release is now broken since we need to provide a branch to compare with :

{{#tags}}
{{#ifReleaseTag .}}
## [{{name}}](https://gitlab.com/html-validate/html-validate/compare/{{name}}) ({{tagDate .}})

It should looks like something like this :

{{#tags}}
{{#ifReleaseTag .}}
## [{{name}}](https://gitlab.com/html-validate/html-validate/compare/{{name}}...myBranch) ({{tagDate .}})

where myBranch is previous tag.

Is there a simple way to retrieve latest tag ? Or should we create a helper to do so ?

Thanks :)

@tomasbjerre
Copy link
Owner

A helper can probably solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants