Repository navigation
1.5.0
This release is a significant milestone in the project.
It improves release management by supporting update of the tag associated
with an existing release.
It improves the erase command supporting --keep-pattern. This allows
to exclude a subset of the packages already matched by the provided selection
pattern.
It drastically improves the command-line user experience (support --help) and
the documentation.
It also adds a new reference command to create, delete and list tags
and branches.
In addition of the original author @j0057, the core
team now includes @jcfr.
License
- Associate code with Apache 2.0
license. See PR #7.
Features (CLI)
-
Distribute a new executable
githubreleaseallowing to invoke any
command (e.grelease,asset, ...) from a unified interface. -
Significantly improve the user experience by adding first class
support for argument parsing.--helpargument is now available.
Fix issue #2.
Features (CLI and Python API)
The changes listed below apply to both the command line interface and the
Python API.
-
Support authentication through
GITHUB_TOKEN. -
Add support for release
editwith summary of changed attributes. -
Add support for listing/creating/deleting references
-
Improve logging associated with release, assets and references.
-
Add support for
--verboseand--dry-runfor most of the commands. -
releasecommand:-
create:-
Support optional parameter
--prerelease. This allows to directly create a pre-release. -
Support optional parameter
--publish. This allows to directly create a published release. -
Gracefully return if release already exists.
-
Support optional parameter
--target_commitish.
-
-
publish: Support additional parameter--prerelease. -
unpublish: Support additional parameter--prerelease. -
list: Displaydownload_count.
-
-
assetcommand:-
erase:-
Display a message if no files matching
patternare found. -
Add support for optional argument
--keep-pattern.
When specified, matching packages will be excluded from the subset
already matched by the provided selectionpattern.
-
-
upload:-
Gracefully handle already uploaded assets having the same name.
-
Display
browser_download_urlreturned by GitHub API.
-
-
Features (Python API)
The changes listed below apply to only the Python API.
assetcommand: Add support for list of patterns.
Backward compatibility
- Executables
github-releaseandgithub-assethave been
deprecated but are still distributed.
Build System
-
Setup continuous integration on TravisCI to run style and integration
tests with each pull requests. -
Clean and simplify
setup.py. -
Add
setuptools-version-commandtorequirements-dev.txt. -
Add
setup.cfgto mark the wheels asuniversal.
Documentation
-
Re-organize and improve README.md.
-
Add maintainers: how to make a release ? section.
-
Add CONTRIBUTING guidelines.