Skip to content

Conversation

@per1234
Copy link
Contributor

@per1234 per1234 commented Aug 16, 2021

The repository's existing tags use the style where the name is identical to the version name. The arduino/create-changelog action's tag-regex input value is currently configured for this tag style. That is correct for the previous tags, but all future tags will use the "v" prefix, as is required for best practices use of the project as a Go module dependency. This will result in the generated changelog for future releases containing the repository's commit history back to the last tag that uses the non-"v" prefix style of tag.

Setting the regex up to support both tag styles will avoid such an issue.


Demo release using the updated workflow: https://github.com/per1234/mdns-discovery/releases/tag/v1.4.2

The repository's existing tags use the style where the name is identical to the version name. The `arduino/create-changelog` action's `tag-regex` input value is currently configured for this tag style. That is correct for the previous tags, but all future tags will use the "v" prefix, as is required for best practices use of the project as a Go module dependency. This will result in the generated changelog for future releases containing the repository's commit history back to the last tag that uses the non-"v" prefix style of tag.

Setting the regex up to support both tag styles will avoid such an issue.
@per1234 per1234 added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Aug 16, 2021
@per1234 per1234 merged commit 97a03ea into arduino:main Aug 16, 2021
@per1234 per1234 self-assigned this Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants