You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anton Latukha edited this page Nov 2, 2020
·
7 revisions
Please note that after making a GitHub release - CI triggers the additional pipelines, that at the moment of writing - test classical Cabal builds on GHCs GHC 8.6, 8.8 (to be solidly sure that Hackage would successfully build those). To cut the CI loop for development - some (as much as possible) CI tests and actions divert to testing once on pre/release trigger.
So it is a good idea to form a pre-release.
To do that CI builds.
In the meantime to not forget to update the Cabal metadata before making a Git tag.
Docs currently need to be compiled and uploaded manually:
set -e
dir=$(mktemp -d /tmp/dist-docs.XXXXXX)trap'rm -r "$dir"' EXIT
# assumes cabal 2.4 or later
cabal v2-haddock --builddir="$dir" --haddock-for-hackage --enable-doc
# (pasting pass does not work) Enter _by hand_: account, password
cabal upload -d --publish $dir/*-docs.tar.gz