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.

[maintain] [Publish]

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]

Properties

Versions 0.0
Change log CHANGELOG.md
Dependencies base (<5), directory, filepath, simple-cmd, simple-cmd-args [details]
License GPL-3.0-only
Copyright 2019 Jens Petersen
Author Jens Petersen
Maintainer juhpetersen@gmail.com
Category Util
Home page https://github.com/juhp/hkgrelease
Bug tracker https://github.com/juhp/hkgrelease/issues
Source repo head: git clone https://github.com/juhp/hkgrelease.git
Uploaded by JensPetersen at 2019-06-07T10:24:17Z

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for hkgrelease-0.0

[back to package description]

hkgrelease

Hackage GPL-3 license Build status

Publish your package releases on Hackage using hkgrelease:

Usage

$ 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

Example

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