Fix semantic version issues with tagging process

This fixes #30 and #26