Update README

This commit is contained in:
Julian Ospald 2021-10-25 21:26:05 +02:00
parent 44e71f67c4
commit 0f00f72cca
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -1 +1,13 @@
# GHCup metadata
## Adding a new GHC version
1. open the latest `ghcup-<yaml-ver>.yaml`
2. find the latest ghc version (in yaml tree e.g. `ghcupDownloads -> GHC -> 8.10.7`)
3. copy-paste it
4. adjust the version, tags, changelog, source url
5. adjust the various bindist urls (make sure to also change the yaml anchors)
6. build the `ghcup-gen` binary from the [ghcup repo](https://gitlab.haskell.org/haskell/ghcup-hs)
7. run `ghcup-gen -- check -f ghcup-<yaml-ver>.yaml`
8. run `ghcup-gen -- check-tarballs -f ghcup-<yaml-ver>.yaml -u 'ghc-8\.10\.8'`