hkgr

Simple Hackage release workflow for package maintainers

https://github.com/juhp/hkgr

Version on this page:0.2.1
LTS Haskell 22.17:0.4.3.2
Stackage Nightly 2024-04-20:0.4.3.2
Latest on Hackage:0.4.3.2

See all snapshots hkgr appears in

GPL-3.0-only licensed by Jens Petersen
Maintained by [email protected]
This version can be pinned in stack with:hkgr-0.2.1@sha256:3d414526b1946bbbac49d6998a1ec62abeb5c5a5575326d854a5d438f120ce93,1451

Module documentation for 0.2.1

There are no documented modules for this package.

Hkgr

Hackage GPL-3 license Build status

hkgr (pronounced “Hackager”) is a tool for making releases of Haskell packages on Hackage.

Usage

$ 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:
  tagdist                  'git tag' version and 'cabal sdist' tarball
  upload                   'cabal upload' candidate tarball to Hackage
  publish                  Publish to Hackage ('cabal upload --publish')
  upload-haddock           Upload candidate documentation to Hackage
  publish-haddock          Publish documentation to Hackage
  version                  Show the package version from .cabal file

Example

$ git commit -m "new release"
$ git push
$ hkgr tagdist
$ hkgr upload
$ hkgr upload-haddock
$ hkgr publish
$ hkgr publish-haddock

Changes

Changelog

0.2.1 (2019-06-24)

  • fix creation of published symlink lockfile
  • tagdist before cabal upload if no tarball

0.2 (2019-06-24)

  • merge tag and dist commands into tagdist
  • if sdist fails then reset tag
  • drop push-tags command

0.1 (2019-06-24)

  • add published lock file: prevents tagging/dist/upload after publish
  • tag before sdist if no tag
  • push tag after publishing

0.0 (2019-06-08)

  • Initially created.