Skip to content

1.5.1

Choose a tag to compare

@jcfr jcfr released this 05 Apr 07:23
· 83 commits to master since this release

CLI

  • In addition of setting GITHUB_TOKEN environment variable or using netrc file, the CLI
    now accepts a --github-token argument. 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_name and pattern are
    effectively optional positional arguments.

  • asset command:

    • 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-pattern instead of --keep_pattern.

    • Change --tag_name into --tag-name.

    • Change --target_commitish into --target-commitish.

Features (CLI and Python API)

  • Check that credentials (either GITHUB_TOKEN environment variable or netrc file)
    are properly set for commands requiring them. Thanks @rwols
    for suggesting the change. See PR #17.

  • release command:

    • create:

      • Support upload of arbitrary number of assets on release creation.

      • Support --dry-run.

Python API

  • Backward incompatible changes:

    • Rename gh_asset_erase into gh_asset_delete.
  • 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

Documentation