Update package version on release with semver

This action updates package.json version to the same version as the latest release tag using semantic versioning (MAJOR.MINOR.PATCH).

This action is a fork of Update package version on release by @medallyon.