tcnksm / ghr

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

Invalid number of arguments: you must set a git TAG and optionally a PATH. #135

Closed laoshanxi closed 2 years ago

laoshanxi commented 2 years ago

I tried, but always print this error message:

Invalid number of arguments: you must set a git TAG and optionally a PATH.

I am using cli:

ghr -debug -token ${GITHUB_TOKEN} -name ${TITLE} -username ${CIRCLE_PROJECT_USERNAME} -commitish ${CIRCLE_SHA1} -replace -delete ${VERSION} ./artifacts/
laoshanxi commented 2 years ago

The reason is the variable ${TITLE} contain charactor space which break the command line.