ServantHaskell Web 服务
Servant 包含一组 Haskell 库,用来构建 Haskell Web 服务。这是一个类型安全的服务,同时支持生成 Web 服务的客户端代码(包括 Haskell 或者 JavaScript)
- Update changelog and bump versions in
master-
git log --oneline v0.12.. | grep 'Merge pull request'is a good starting point (use correct previous release tag)
-
- Create a release branch, e.g.
release-0.13- Release branch is useful for backporting fixes from
master
- Release branch is useful for backporting fixes from
- Smoke test in
servant-universe-
git submodule foreach git checkout masterandgit submodule foreach git pullto get newest of everything. -
cabal new-build --enable-tests allto verify that everything builds, andcabal new-test allto run tests- It's a good idea to separate these steps, as tests often pass, if they compile :)
- See
cabal.projectto selectivelyallow-newer - If some packages are broken, on your discretisation there are two options:
- Fix them and make PRs: it's a good idea to test against older
servantversion too. - Temporarily comment out broken package
- Fix them and make PRs: it's a good idea to test against older
- If you make a commit for
servant-universe, you can use it as submodule in private projects to test even more
-
- When ripples are cleared out:
-
git tag -sthe release git push --tags-
cabal sdistandcabal upload
-
评论
