Update RELEASING.md

This commit is contained in:
Julian Ospald 2020-04-29 22:37:12 +02:00
parent a8be2efd85
commit 781c28b03c
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
1 changed files with 9 additions and 5 deletions

View File

@ -2,13 +2,17 @@
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`.
2. Update version in ghcup.cabal
3. Commit and git push with tag. Wait for tests to succeed and release artifacts to build.
3. Add ChangeLog entry
4. Download release artifacts and upload them `downloads.haskell.org/ghcup`
4. Add/fix downloads to `GHCupDownloads` module, then run `ghcup-gen gen` to generate the new json and validate it via `ghcup-gen check`.
5. Add release artifacts to GHCupDownloads (see point 2.)
5. Commit and git push with tag. Wait for tests to succeed and release artifacts to build.
6. Upload the final `ghcup-<ver>.json` to `webhost.haskell.org/ghcup/data/`.
6. Download release artifacts and upload them `downloads.haskell.org/ghcup`
7. Add release artifacts to GHCupDownloads (see point 2.)
8. Upload the final `ghcup-<ver>.json` to `webhost.haskell.org/ghcup/data/`.