fix : reset minor/patch version (as 0) when major/minor version advance