Skip to content

Commit e02c293

Browse files
authored
Add manual upload instructions (#1930)
* Add manual upload instructions * Add the local build case * Add missing whitespace
1 parent 344c4cd commit e02c293

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/releases.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,18 @@ we make sure to upload them as their full name variant.
8585

8686
If the workflow fail and all of some binaries has not been uploaded,
8787
the prerelease and the tag itself has to be recreated to start it again.
88-
If only some of the artefacts are missinf an alternative could be make
88+
If only some of the artefacts are missing, an alternative could be make
8989
the release in a fork and upload manually them.
9090

91+
If they are missing due to ci specific problems we can build the executable locally.
92+
93+
To manually upload the missing binary we should:
94+
95+
- Add the new tar/zip following the name conventions of existing ones
96+
- `haskell-language-server-${os}-${ghcVersion}.gz` for `Linux` and `macOS` and `haskell-language-server-Windows-${ghcVersion}.exe.zip` for `Windows`
97+
- 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.
98+
- 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.
99+
91100
### ghcup
92101
Ghcup can install hls binaries, provided that there is a tarfile
93102
called `haskell-language-server-{macOS,Linux}-$HLS_VERSION.tar.gz`

0 commit comments

Comments
 (0)