Skip to content

Conversation

@jodiew
Copy link

@jodiew jodiew commented Nov 28, 2025

Some of the header links in CHANGELOG.md don't work because the patchChangelog assumes that all tags have a "v" prefix by default. The "v" prefix for GitHub tags was removed from the draft release job in .github/workflows/build.yml a few versions ago and this doesn't seem like the intended behaviour.

Let me know what you think :)


Edit: Sorry just read #556, I'll make some changes I updated the PR to match intended behaviour.

…Hub release tags

- Adds "v" to the tag name when creating the draft release
- Adds `sectionUrlBuilder` to handle exiting tags without the "v" prefix
- Adds a template `build.gradle.kts` to without the repo specific tag fixes
@jodiew jodiew changed the title Fix CHANGELOG.md comparison links and missing "v" prefix for tags Fix CHANGELOG.md comparison links that assume "v" prefix for tags Nov 28, 2025
changelog {
groups.empty()
repositoryUrl = providers.gradleProperty("pluginRepositoryUrl")
versionPrefix = ""
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sets the version prefix in the Changelog comparison links to be nothing instead of the default v for new projects started from this template.

@hsz
Copy link
Member

hsz commented Jan 19, 2026

This is not how it should be done, really. Copying the whole Gradle build file into .github leads to a painful maintenance process.

@hsz
Copy link
Member

hsz commented Jan 19, 2026

I've updated releases names to have no v prefix.

@hsz hsz closed this Jan 19, 2026
@jodiew
Copy link
Author

jodiew commented Jan 20, 2026

Thanks for the feedback! I agree with the maintenance issue. I did get a a lot of github notifications for "new" releases of this repo due to the renaming.

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

Successfully merging this pull request may close these issues.

2 participants