tcnksm / ghr

Upload multiple artifacts to GitHub Release in parallel
http://tcnksm.github.io/ghr/
MIT License
1.23k stars 80 forks source link

Add env variable support inside option values ... #120

Closed rokibhasansagar closed 4 years ago

rokibhasansagar commented 4 years ago

In TITLE or BODY, if I want to write something which I want to get from environment variables, how to do it?

Like ghr -t TOKEN -u USER -r REPO -n "Release for $DEVICE" -b "Updated at $DATE" -delete v1.0.1 FILE

This returns no env. How to do so?

rokibhasansagar commented 4 years ago

Oh, I got the format after several tries. :nerd_face:

Like this ... ghr -t TOKEN -u USER -r REPO -n "Release for $(echo $DEVICE)" -b "Updated at $(date)" -delete v1.0.1 FILE

Closing it now. :peace_symbol: