diff --git a/CHANGES.md b/CHANGES.md index c44c9e7..5097fd3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,15 @@ +Next Release +============ + +Features (CLI and Python API) +----------------------------- + +* ``asset`` and ``release`` command: + + * Asset information reporting using sub-commands like ``list`` or ``info`` now + include the asset ``ID``. + + 1.5.5 ===== diff --git a/github_release.py b/github_release.py index a07c3ac..8f05660 100755 --- a/github_release.py +++ b/github_release.py @@ -592,6 +592,7 @@ def _cli_release_debug(repo_name, tag_name): def print_asset_info(i, asset, indent=""): print(indent + "Asset #{i}".format(i=i)) indent = " " + indent + print(indent + "ID : {id}".format(i=i, **asset)) print(indent + "name : {name}".format(i=i, **asset)) print(indent + "state : {state}".format(i=i, **asset)) print(indent + "uploader : {login}".format(i=i, **asset['uploader']))