github-binary-upload is a utility for publishing releases from tags with attached files on GitHub.
Project description
Introduction
github-binary-upload is a script for creating GitHub releases from Git tags with attached assets.
Installation
Install with pip directly from source:
python3 -m pip install git+https://iffgit.fz-juelich.de/Scientific-IT-Systems/github-binary-upload.git
Usage
After installation you can run github-binary-upload:
usage: github-binary-upload [-h] [-g GITHUB_SERVER] [-c CREDENTIALS_FILE] [-l] [-n] [-u USERNAME] [-V] project [tag] [assets [assets ...]] github-binary-upload is a utility for publishing releases from tags with attached files on GitHub. positional arguments: project GitHub project in the format "<user>/<project name>" tag tag that will be published as a release, ignored if ' --latest' is given assets files that will be attached to the release optional arguments: -h, --help show this help message and exit -g GITHUB_SERVER, --github-server GITHUB_SERVER GitHub server hostname (default: github.com) -c CREDENTIALS_FILE, --credentials-file CREDENTIALS_FILE path to a file containing username and password/access token (on two separate lines, default: ~/.github- binary-uploadrc) -l, --latest get the latest tag from the GitHub API -n, --dry-run only print which releases would be published -u USERNAME, --user USERNAME user account for querying the GitHub API -V, --version print the version number and exit
Example
Run
github-binary-upload -u ExampleUser -l ExampleUser/ExampleProjet MyFirstAsset.zip MySecondAsset.whl
to create a release from the latest tag in the GitHub project ExampleUser/ExampleProjet. The files MyFirstAsset.zip and MySecondAsset.whl will be attached as downloadable files.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for github-binary-upload-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c38ca3514abaa5fe324dfb2397a64a6d795489cd2c1a607436e6e81c847b67c |
|
MD5 | 78b5cacb141bb1c9ee70bf382ca68d13 |
|
BLAKE2b-256 | 6298828192275881fc287c3b9a0cffb4e3e966df589bef0f14320a428d26e08d |
Close
Hashes for github_binary_upload-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6306b102b966cd91b8549b579d45a42e7ec4138d7517a650048501df1ececafd |
|
MD5 | de05e568a408050d73a020df357a097d |
|
BLAKE2b-256 | 3c63e66dd1755348e7d726f0b69edc93664fa1914f16bf1522f0e1d1a2d4d487 |