Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (19 loc) · 1.06 KB

RELEASE.md

File metadata and controls

23 lines (19 loc) · 1.06 KB

Releasing a new version of Mu-Haskell

This list assumes you have your Hackage username and password set in your .cabal/config file.

  1. Run ./test-schema.sh and check that no errors are found

    • If found, abort and open issue
  2. Check that you can build with all compilers, and update project files if required:

    • stack build (for the current LTS)
    • stack build --stack-yaml stack-nightly.yaml (for the next version)
    • cabal build all
  3. For each package, run the following commands:

    ./release-package.sh <package> <version>
    
  4. Push and merge any pending changes

  5. Run ./test-templates.sh and check that no errors are found

    • If found, update templates in templates folder and open a PR
  6. Publish a new release in GitHub:

    • Tag by running git tag -a vX.Y -m "Release X.Y"
    • Push the tag git push --tags
    • Create a new release in GitHub for that tag, or if using hub, run hub release create vX.Y