Simple Hackage release workflow for package maintainers

Version on this page:0.0
LTS Haskell 14.6:0.2.2
Stackage Nightly 2019-09-18:0.2.2
Latest on Hackage:0.2.2

See all snapshots hkgr appears in

GPL-3.0-only licensed by Jens Petersen
Maintained by

Module documentation for 0.0

This version can be pinned in stack with:hkgr-0.0@sha256:fad54a8a03955883e12978908bc073e85b0ac4d243fd898b2463d09bebf2a7e0,1454

There are no documented modules for this package.


Hackage GPL-3 license Build status

hkgr (pronounced “Hackager”) is a tool for package maintainers to release their Haskell packages on Hackage.


$ hkgr
HacKaGe Release workflow

Usage: hkgr [--version] COMMAND
  A tool to help Hackage maintainers with releasing packages

Available options:
  -h,--help                Show this help text
  --version                Show version

Available commands:
  tag                      'git tag' version
  dist                     Make tarball from latest tag ('cabal sdist')
  version                  Show the package version from .cabal file
  upload                   'cabal upload' tarball to Hackage
  push-tags                'git push --tags' to origin
  publish                  Publish to Hackage ('cabal upload --publish')
  upload-haddock           Upload documentation to Hackage
  publish-haddock          Upload documentation to Hackage


$ git commit -m "new release"
$ hkgr tag
$ hkgr dist
$ hkgr upload
$ git push
$ hkgr push-tags
$ hkgr publish
$ hkgr upload-haddock
$ hkgr publish-haddock




  • Initially created.
comments powered byDisqus