muratgozel / node-calver

Calendar based software versioning library as node.js module and with cli support. 📅
MIT License
28 stars 5 forks source link

Solve some issues #4

Closed aazbeltran closed 3 years ago

aazbeltran commented 3 years ago

General

Features

Bug Fixes

Code Refactoring

Internal Workflow

Closes: #3

muratgozel commented 3 years ago

Thanks, a lot of updates here. There is just one problem. As I have mentioned in the issue, calver should preserve the date portion unless no argument given to the .inc(). If you want to update both date and semantic tags then you should .inc() first and then .inc('minor'). Date tags are the major of semantic tags. Can you please remove your preserveDate logic? Or you may replace it with something like breakDate.

aazbeltran commented 3 years ago

Could you double-check, please?

muratgozel commented 3 years ago

thank you. merging now and i will do in-depth review later.