1.5.1
CLI
-
In addition of setting
GITHUB_TOKENenvironment variable or usingnetrcfile, the CLI
now accepts a--github-tokenargument. More details here. -
If called from a terminal, report download or upload progress. Passing
--no-progress
allows to explicitly disable progress reporting. -
Fix asset download command argument parsing.
tag_nameandpatternare
effectively optional positional arguments. -
assetcommand:upload: Support upload of multiple files or globing patterns
-
Deprecate asset erase command. It doesn't show up in the help and usage
output. It will be removed in version 1.6.0. -
Backward incompatible changes:
-
Consistently accept
--keep-patterninstead of--keep_pattern. -
Change
--tag_nameinto--tag-name. -
Change
--target_commitishinto--target-commitish.
-
Features (CLI and Python API)
-
Check that credentials (either
GITHUB_TOKENenvironment variable ornetrcfile)
are properly set for commands requiring them. Thanks @rwols
for suggesting the change. See PR #17. -
releasecommand:-
create:-
Support upload of arbitrary number of assets on release creation.
-
Support
--dry-run.
-
-
Python API
-
Backward incompatible changes:
- Rename
gh_asset_eraseintogh_asset_delete.
- Rename
-
Internal
- Simplify code using click for argument parsing.
Testing
-
Add test checking that expected command line arguments do not cause failure.
-
Completely ignore 4xx errors associated with
clear_github_release_and_tags. -
Relocate test repositories under github-release-bot user.
Build System
-
Latest packages are now published
-
Packages generated from master branch are available at https://github.com/j0057/github-release/releases/tag/latest
-
They can be installed using
pip intall githubrelease -f https://github.com/j0057/github-release/releases/tag/latest
-
Documentation
- Update maintainers: how to make a release ? section
to include update of CHANGES.md and creation of a github release.