hkgrelease: 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.


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]


Dependenciesbase (<5), directory, filepath, simple-cmd, simple-cmd-args [details]
Copyright2019 Jens Petersen
AuthorJens Petersen
Home page
Bug tracker
Source repositoryhead: git clone
UploadedFri Jun 7 10:24:17 UTC 2019 by JensPetersen


Maintainers' corner

For package maintainers and hackage trustees

Readme for hkgrelease-0.0

[back to package description]


Hackage GPL-3 license Build status

Publish your package releases on Hackage using hkgrelease:


$ hkgrelease
Hackage maintainer release workflow

Usage: hkgrelease [--version] COMMAND
  Helps Hackage package 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"
$ hkgrelease tag
$ hkgrelease dist
$ hkgrelease upload
$ git push
$ hkgrelease push-tags
$ hkgrelease publish
$ hkgrelease upload-haddock
$ hkgrelease publish-haddock