Closed IllusionVK closed 7 months ago
An Update:
--starting-date
command we were passing dates with slashes and not dashes.. when we changed that the problem was solved on the Windows 2019 server 🎉So the strange thing here is that the 2016 server is still using dates with slashes and it works fine! So there must be something differnt with a library that interprets the date on the Windows 2019 server. We have checked all of our library versions and both servers have the same, so its a mystery what actually causes the issue. Perhaps how regex behaves / how the date is interpreted by the code when run on the 2019 server. To recap:
--starting-date 2024/01/07
--starting-date 2024-01-07
We have been using Auto-chnagelog for the past 1-2 years and all has been working well, however in last few days we have seen issues with the change log being empty when we use our normal command which includes
--starting-date
.If we remove
--starting-date
then the change log shows all changes in the past year or more.This is an example of the command that is being run (and has worked fine for last 1-2 years)
auto-changelog --commit-limit false --starting-date 2024/01/07 --sort-commits date-desc -t conventional -o ReleaseNotes.md
and it is now returning a change log with only
In testing we have found that if we run the command from above but change the date to be 2023 eg
2023/01/07
then it will show the commits only since 1st January of 2024 (thats not a typo... we set 2023 and it shows us commits from 2024)auto-changelog
repo code for when--starting-date
was added and didn't see any obvious things of how something like this could happen in the code@cookpete do you have or anyone else have any the suggestions why this may happen ? Thanks for any ideas on this strange issue!