Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to use git command output

Avi Xds December 9, 2018

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


 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events