I need a way to run git command and take the output from this command to gradle task
in my case I want to get the last tag in the repo and send it to gradle task or maybe simply export it ,
how can I do it ?
script:
- git describe --tags
- ./gradlew someTask