-
Update the versions in Cabal files and update the
CHANGELOG.md
files to describe changes associated with these version; -
Commit changes;
-
Tag the commit and push to GitHub:
$ git tag -a "vW.X.Y.Z" && git push origin "vW.X.Y.Z"
-
Create source distributions:
$ cabal sdist all Wrote tarball sdist to (...)/dist-newstyle/sdist/<pkg>-W.X.Y.Z.tar.gz
-
Upload to Hackage:
$ cabal upload --publish (...)/dist-newstyle/sdist/*
That's it!