Skip to main content

Grabs the latest github release

Project description

getLatestGitRelease

will grab the latest github release and pull it down locally, unzipping it into the specified folder

Usage

getLatestRelease    (github_config_file         =   '.\getLatest.example.yaml'
                    ,github_config_file_type    =   'YAML'
                    )

the config file (can be YAML, JSON, XML, INI)

APP:
    ALLOW_PRERELEASE: true
    OUTPUT_FOLDER: d:\my\local\path
    DEBUG: false
    KEEP_ARCHIVE: false
GITHUB:
    REPO_NAME: theRepoName
    REPO_OWNER: theRepoOwner
    REPO_ID: None # You can use the REPO_ID _INSTEAD_ if you want
    KEY: ghp_000000000000000000000000000000000000

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

getLatestGitRelease-0.0.4.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

getLatestGitRelease-0.0.4-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page