hkgr: Simple Hackage release workflow for package maintainers

[ gpl, program, util ] [ Propose Tags ]

Hkgr (pronouced Hackager) is a tool to help Hackage maintainers make new releases of their packages, with commands for git tagging, pristine sdist, and uploading to Hackage.

[Skip to Readme]


Versions [RSS] 0.0, 0.1, 0.2, 0.2.1, 0.2.2, 0.2.3,,,, 0.2.4,, 0.2.5,,, 0.2.6,, 0.2.7, 0.3, 0.4, 0.4.1, 0.4.2 (info)
Change log
Dependencies base (<5), directory (>=1.2.3), filepath, semigroups, simple-cmd (>=0.2.0), simple-cmd-args [details]
License GPL-3.0-only
Copyright 2019 Jens Petersen
Author Jens Petersen
Category Util
Home page
Bug tracker
Source repo head: git clone
Uploaded by JensPetersen at 2019-06-10T16:36:06Z
Distributions LTSHaskell:0.3, NixOS:0.3, Stackage:0.4.2
Executables hkgr
Downloads 4940 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2019-06-10 [all 2 reports]

Readme for hkgr-0.0

[back to package description]


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