arduino / mdns-discovery

mdns (bonjour) pluggable discovery
GNU General Public License v3.0
17 stars 6 forks source link

Add "v" prefix to changelog generation regex #10

Closed per1234 closed 3 years ago

per1234 commented 3 years ago

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