I manually upload haddock only because it gives me an instant preview on hackage. I donât know how long it takes for Hackage to automatically generate docs, but it doesnât seem to be < 5minutes.
I decided to write my own script. What I wanted was an âone clickâ workflowâbasically I just run nix run github:srid/hackage-publish on the package source ⌠and it publishes without any manual intervention (except for using my fingerprint to approve password request).
It is hardcoded to 1Password, but this can potentially evolve into general software depending on user interest. I also want do âsanity checksâ (like fail if thereâs no CHANGELOG.md).
I do it manually, because I want to check candidates before publishing the real package.
hkgr, for one, publishes a candidate by default, so thereâs a room for manual double-checking. And I agree that writing to an append-only database like Hackage should use some good-old human-in-the-loop sanity checkingâŚ