-
Update the version in
hakyll.cabal
and update theCHANGELOG.md
file to describe changes associated with this version; -
Commit changes to
hakyll.cabal
andCHANGELOG.md
; -
Tag the commit and push to GitHub:
$ git tag -a "vW.X.Y.Z" && git push origin "vW.X.Y.Z"
-
Create a source distribution:
$ cabal sdist Wrote tarball sdist to (...)/dist-newstyle/sdist/hakyll-W.X.Y.Z.tar.gz
-
Upload to Hackage:
$ cabal upload --publish (...)/dist-newstyle/sdist/hakyll-W.X.Y.Z.tar.gz
That's it!