Add manual upload instructions (#1930)

* Add manual upload instructions

* Add the local build case

* Add missing whitespace
This commit is contained in:
Javier Neira 2021-06-16 09:53:44 +02:00 committed by GitHub
parent 344c4cd506
commit e02c29374b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,9 +85,18 @@ we make sure to upload them as their full name variant.
If the workflow fail and all of some binaries has not been uploaded,
the prerelease and the tag itself has to be recreated to start it again.
If only some of the artefacts are missinf an alternative could be make
If only some of the artefacts are missing, an alternative could be make
the release in a fork and upload manually them.
If they are missing due to ci specific problems we can build the executable locally.
To manually upload the missing binary we should:
- Add the new tar/zip following the name conventions of existing ones
- `haskell-language-server-${os}-${ghcVersion}.gz` for `Linux` and `macOS` and `haskell-language-server-Windows-${ghcVersion}.exe.zip` for `Windows`
- the binary inside the gz file is named `haskell-language-server-${ghcVersion}` (with the `.exe` extension for `Windows`). Note that the binary name does not contain the `${os}` part.
- Add the executable to the existing tar `haskell-language-server-${os}-${ghcVersion}.tar.gz` following the same schema for the binary as the previous one.
### ghcup
Ghcup can install hls binaries, provided that there is a tarfile
called `haskell-language-server-{macOS,Linux}-$HLS_VERSION.tar.gz`