tcnksm / ghr

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

Missing definition for 'name' #126

Closed joesus closed 4 years ago

joesus commented 4 years ago

Command run from circleci:

ghr \
  --token ${GITHUB_ACCESS_TOKEN} \
  --username ${CIRCLE_PROJECT_USERNAME} \
  --repository ${CIRCLE_PROJECT_REPONAME}  \
  --commitish ${CIRCLE_SHA1} \
  --name "Facebook SDK ${CIRCLE_TAG}" \
  --body "Consult [Changelog](https://github.com/facebook/facebook-ios-sdk/blob/master/CHANGELOG.md#${STRIPPED_VERSION_NUMBER})" \
  --draft \
  ${CIRCLE_TAG} \
  build/Release

Output

flag provided but not defined: -name
Usage: ghr [options...] TAG PATH

Expected Should populate the name of the release.

Notes Without this flag the release works as expected.

joesus commented 4 years ago

Looks like the documentation for GitHub releases with CircleCI recommends an older version of ghr that does not include the "name" flag. They should update this to use the docker image:

cibuilds/github:0.13 (instead of 0.10)