2020-04-12 20:01:42 +02:00
# RELEASING
2020-08-09 17:39:02 +02:00
1. update `GHCup.Version` module. `ghcupURL` must only be updated if we change the `_toolRequirements` type or the YAML representation of it. The version of the YAML represents the change increments. `ghcUpVer` is the current application version.
2020-04-12 20:01:42 +02:00
2020-04-29 22:37:12 +02:00
2. Update version in ghcup.cabal
2020-04-12 20:01:42 +02:00
2020-04-29 22:37:12 +02:00
3. Add ChangeLog entry
2020-04-12 20:01:42 +02:00
2020-08-09 17:39:02 +02:00
4. Add/fix downloads in `ghcup-<ver>.yaml` , then verify with `ghcup-gen check -f ghcup-<ver>.yaml`
2020-04-28 17:41:08 +02:00
2020-04-29 22:37:12 +02:00
5. Commit and git push with tag. Wait for tests to succeed and release artifacts to build.
2020-04-28 17:41:08 +02:00
2020-04-29 22:37:12 +02:00
6. Download release artifacts and upload them `downloads.haskell.org/ghcup`
2020-08-09 17:39:02 +02:00
7. Add release artifacts to yaml file (see point 4.)
2020-04-29 22:37:12 +02:00
2020-08-09 17:39:02 +02:00
8. Upload the final `ghcup-<ver>.yaml` to `webhost.haskell.org/ghcup/data/` .
2020-04-12 20:01:42 +02:00
2020-04-30 00:31:33 +02:00
9. Update bootstrap-haskell and symlinks on `downloads.haskell.org/ghcup`