The github-release package

[Tags:library, mit, program]

GitHub Release is a command-line utility for uploading files to GitHub releases.

[Skip to Readme]


Versions 0.1.0, 0.1.1, 0.1.2, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 1.0.0, 1.0.1, 1.0.2, 1.0.3
Change log CHANGELOG.markdown
Dependencies aeson (>=0.9 && <1.3), base (>=4.8.2 && <4.10), bytestring (>=0.10.6 && <0.11), github-release, http-client (>=0.4.30 && <0.6), http-client-tls (>=0.2.4 && <0.4), http-types (==0.9.*), mime-types (==0.1.*), optparse-generic (>=1.1 && <1.3), text (>=1.2.2 && <1.3), unordered-containers (>=0.2.5 && <0.3), uri-templater (==0.2.*) [details]
License MIT
Maintainer Taylor Fausak
Category Utility
Home page
Bug tracker
Source repository head: git clone
Uploaded Mon May 15 12:26:06 UTC 2017 by fozworth
Distributions LTSHaskell:1.0.3, NixOS:1.0.3, Stackage:1.0.3, Tumbleweed:1.0.3
Downloads 619 total (41 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2017-05-15 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for github-release

Readme for github-release-1.0.3

GitHub Release

Version badge Build badge Windows build badge

GitHub Release is a command-line utility for uploading files to GitHub releases.

The recommended way to get GitHub Release is to download the latest release for your operating system. These releases are, of course, added with GitHub Release itself.

Once you've got it, run it like so:

github-release upload \
  --token '...' \
  --owner 'someone' \
  --repo 'something' \
  --tag '1.2.3' \
  --file 'path/to/example.tgz' \
  --name 'example-1.2.3.tgz'

You can generate a token on the personal access tokens page of your personal settings. The file option is the path to the local file you want to upload. The name option is what the file should be called on the GitHub release.

GitHub Release is written in Haskell. If you want to build it yourself or use it in your project, you'll want to get Stack. Once you've done that, you can install and use it from the command line.

stack --resolver nightly install github-release
stack exec -- github release upload # as above ...

Or you can use it from Haskell.

import qualified GitHubRelease
    "..."                 -- token
    "someone"             -- owner
    "something"           -- repo
    "1.2.3"               -- tag
    "path/to/example.tgz" -- file
    "example-1.2.3.tgz"   -- name

Inspired by