2021-10-19 18:12:14 +00:00
|
|
|
# GHCup metadata
|
2021-10-25 19:26:05 +00:00
|
|
|
|
|
|
|
## 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)
|
2021-10-27 13:04:49 +00:00
|
|
|
6. run `cabal run ghcup-gen -- check -f ghcup-<yaml-ver>.yaml`
|
|
|
|
7. run `cabal run ghcup-gen -- check-tarballs -f ghcup-<yaml-ver>.yaml -u 'ghc-8\.10\.8'`
|
2021-10-25 19:26:05 +00:00
|
|
|
|