From b953c8fd30900638a1cd8413292ea15e46e27670 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 12 Apr 2020 20:01:42 +0200 Subject: [PATCH] Add RELEASING.md --- RELEASING.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 RELEASING.md diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 0000000..57cd277 --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,11 @@ +# RELEASING + +1. update `GHCup.Version` module. `ghcupURL` must only be updated if we change the `_toolRequirements` type or the JSON representation of it. The version of the json represents the change increments. `ghcUpVer` is the current application version. + +2. Add/fix downloads to `GHCupDownloads` module, then run `ghcup-gen gen` to generate the new json and validate it via `ghcup-gen check`. + +3. Commit and git push with tag. Wait for tests to succeed. + +4. Upload the new `ghcup-.json` to `webhost.haskell.org/ghcup/data/`. + +5. Build ghcup releases for Linux (fully static), mac (with `-fcurl`) and FreeBSD (with `-fcurl`). Upload to `webhost.haskell.org/ghcup/bin/` and update symlinks.