Calculate next suitable version tag from git
Issue:
You would like to automatically and programmatically find the next suitable version number for a release in Git.
Prerequisites:
You are working by semantic versioning principles.
Solution:
Save and execute the provided snippet into your terminal.