Follow these steps to release this project:
-
Create a new branch
- Bump version in
skeletest.cabal
- Curate
CHANGELOG.md
, creating a new section for this version and moving everything previously inUnreleased
into the new section (keepingUnreleased
as a section) - Add comments to new features indicating when it was added (e.g.
-- @since v2.0.0
) - Run
cabal haddock
and skim through documentation
- Bump version in
-
Create PR as usual and merge into
main
-
Ensure your Hackage token is set in Settings > Secrets > Actions as
HACKAGE_TOKEN_<github_username>
(replace any non alphanumeric characters in username with_
).- Generate a token from
https://hackage.haskell.org/user/<hackage_username>/manage
- Generate a token from
-
Go to the GitHub Actions page, click on the "Release" workflow, and click "Run workflow" on the main branch
-
Publish the candidate: https://hackage.haskell.org/package/skeletest/candidates
-
Publish the GitHub release: https://github.com/brandonchinn178/skeletest/releases