gitartifact

Download GitHub artifacts associated with releases on public or private repositories.

Daniel Burrell

danielburrell

8,543 downloads

8,543 latest version

3.6 quality score

Version information

  • 0.3.1 (latest)
released Oct 19th 2014
This version is compatible with:
  • Ubuntu

Start using this module

Documentation

danielburrell/gitartifact — version 0.3.1 Oct 19th 2014

gitartifact

This is the gitartifact module. It allows you to download release-artifacts from private GitHub repositories (public repositories coming soon).

Simply provide the account, repository name, release tag and some substring of the filename you want downloaded.

For private repositories provide your oauth key.

Tell it where you want the artifact downloaded.

Useful for making package{} (dpkg) closed-source installations without needing to subscribe to expensive private binary hosting services and avoid maintaining your own apt PPA.

Example

gitartifact { "mygitartifact":
        account => "danielburrell",
        repository => "repo",
        releasetag => "0.0.2",
        pattern => "partialmatch.deb",
        oauth => "YOUR_OAUTH_TOKEN_HERE",
        destination => '/home/dan/gitartifact_0.0.1-SNAPSHOT.deb',
}