How to get tag of the cloned git repo at compile time
I have cloned a remote git repo and created a new branch out of the main
branch. Now I want to get latest repo tag (if exists) at compile time. I was able to get latest commit hash at compile time. Below is my code
How to get tag of the cloned git repo at compile time
I have cloned a remote git repo and created a new branch out of the main
branch. Now I want to get latest repo tag (if exists) at compile time. I was able to get latest commit hash at compile time. Below is my code