Instructions for uploading to Hackage

You will need a Hackage account for steps 4 & 5.

  1. Bump the version number in pgf2.cabal
  2. Add details in
  3. Run stack sdist (or cabal sdist)
  4. Visit and upload the file ./.stack-work/dist/x86_64-osx/Cabal- (or Cabal equivalent)
  5. If successful, upload documentation with ./ pgf2 x.y.z (compilation on Hackage's servers will fail because of missing C libraries)
  6. Commit and push to this repository (gf-core)