In my Java project, there is a properties file that is used by a plugin to populate a box on an output HTML file (making the result of my Selenium test look nice).
I just wanted to take the text of the last commit to the subject repo and use sed to hack the relevant property in the file. I have been able to make a similar hack using a static string, but using dynamically generated data (e.g. `git log -1 --pretty=format::"%s"’) leaves me cold.
I nearly got there with set-env, but that is deprecated.
Can anyone please tell me how this can be done?