absolute-version / commit-and-tag-version

Fork of the excellent standard-version. Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org :trophy:
ISC License
417 stars 40 forks source link

Easy way to specify multiple files with the same updater #42

Open TimothyJones opened 2 years ago

TimothyJones commented 2 years ago

Discussed in https://github.com/absolute-version/commit-and-tag-version/discussions/41

Originally posted by **wcl-onespan** August 13, 2022 First off, great port, works better than the original... Is there a way to specify multiple files to use the same custom updater, other than specifying each file individually in the versionrc.cjs? This could be a pattern match like "*.html" or it could be that I need to use an array like ["index.html","login.html"] etc? I have tried both of these options and neither seem to work, so I am not sure if it is possible. If I can extend the filename field, that might be an option too since I am using a custom config, but I'm not sure where to start for that. Any help or advice would be greatly appreciated. -Will