cabal sdistThis produces dist-newstyle/sdist/datastar-hs-<version>.tar.gz.
cabal upload dist-newstyle/sdist/datastar-hs-<version>.tar.gzReview the candidate at https://hackage.haskell.org/package/datastar-hs-<version>/candidate.
cabal upload --publish dist-newstyle/sdist/datastar-hs-<version>.tar.gzBuild and upload Haddocks:
cabal haddock --haddock-for-hackage
cabal upload -d dist-newstyle/datastar-hs-<version>-docs.tar.gzUse --publish to push docs to the published package (not the candidate):
cabal upload -d --publish dist-newstyle/datastar-hs-<version>-docs.tar.gzEither pass --token=TOKEN / --username=USERNAME --password=PASSWORD on the command line, or let cabal prompt you (it caches credentials after the first time).