hkgr: Simple Hackage release workflow for package maintainers

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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 0.0, 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
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-07T16:25:23Z


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hkgr-0.0

[back to package description]


Hackage GPL-3 license Build status

Publish your package releases on Hackage using hkgr:


$ 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