- run:
name: Build, run tests, submit to TestFlight
command: fastlane beta whatsnew:"Comment goes here"
“Comment goes here” is a great candidate to be replaced by pull request title I’m merging to the current branch. How to get PR title and probably set it as env variable? Or may be there’s another better way to achieve what I need?
Open up a build you’ve already run, open up the “Spin up Environment”, and you’ll see 20 or so env vars that are set for you to use. Perhaps your PR title is supplied in here?
If not, perhaps you can use the Git hash in CIRCLE_SHA1 to retrieve it from your repo?