tweag / webauthn

A library for parsing and validating webauthn/fido2 credentials
Apache License 2.0
34 stars 11 forks source link

Create a semi-automated release script #124

Closed infinisil closed 2 years ago

infinisil commented 2 years ago

Because this really shouldn't be manual ideally.

This script was used for guidance with the https://hackage.haskell.org/package/webauthn-0.2.0.0 release

ErinvanderVeen commented 2 years ago

Would it be possible to add a --dry-run option, such that people without upload rights can run the script without it failing?

infinisil commented 2 years ago

I think just running the commands cabal sdist and cabal haddock --haddock-for-hackage and inspecting the results is good enough for that, which just checks that it builds, which CI should do already. And things like the release commit, branch push, tag, cabal version field should be updated by the same person doing the release.

infinisil commented 2 years ago

Sounds good, I called it release-candidate instead (we should keep the word "release" in there)