Action to Tag New builds

Is there any action which can create a new tag based on previous tag and / some inputs without hardcoded tag? I am able to use git commands in my action and create tags, but I am not able to figure out how to generate tag values. I tried a few tagging actions from the marketplace, but none of them seem to help. To make things simpler, I created one tag manually, say v1.0.0. I want an action that will read this and set it to 1.0.1 or 1.1.0 or 2.0.0, based on some parameters like major, minor or patch. Can anyone please help?