Skip to content

Instantly share code, notes, and snippets.

@noteed
Created October 1, 2015 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noteed/736c6d96da9d83bf906a to your computer and use it in GitHub Desktop.
Save noteed/736c6d96da9d83bf906a to your computer and use it in GitHub Desktop.

How to release a package to Hackage

I keep forgetting how to upload a package to Hackage:

  • Update the version stanza of the package's .cabal file.
  • Run cabal sdist
  • Instead of cabal upload <tarball>, use the Candidate upload page and then "publish" the candidate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment