Closed wcl-onespan closed 2 years ago
Thanks for the detailed report! I’ll take a look in the next couple of days
Now releasing 10.0.1 which should fix this. Can you give it a go and let me know if it works?
I'll close this assuming it works, please reopen if you need anything further
Thank you Timothy, I can confirm this is working just fine now. We have implemented the library into our CICD, and it is working very well.
Describe the bug When creating performing a version bump using NPX. We are seeing an error with our custom updater configuration. Specifically the error has that the file is an unsupported file, but yet it performs the version update anyways.
Current behavior When running the following command:
npx -p commit-and-tag-version -c "commit-and-tag-version --prerelease build" --yes
with an .versionrc.js file that contains the following configuration:
The .env file will correctly get updated, however the following error will be seen while NPM is running:
Expected behavior
The expectation is that the error is not thrown. We believe the problem is the fact that we are including a file name and the updater as an object, and the filename check is throwing the error while the updater is correctly running.
Environment
commit-and-tag-version
version(s): Latest, 10.0.0