Open fendor opened 2 weeks ago
Very nice work with CI, I wonder if we should have some script like https://gitlab.haskell.org/ghc/ghc/-/blob/master/.gitlab/generate-ci/gen_ci.hs?ref_type=heads to generate our increasingly unmanagable release CI configuration.
I am afraid, CI is still incorrect in some way, https://github.com/haskell/haskell-language-server/pull/4448/files#diff-e426ed45842837026e10e66af23d9c7077e89eacbe6958ce7cb991130ad05adaR235 requires ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
, which is likely to break when November ends.
Also, perhaps we don't even need the custom runner for this release if this workaround is still around...
.github/workflows/release.yaml
ghc: [
to find all lists.TODO:
to find locations that require extra care for GHC versions.*.cabal
files (same version as hls)hie-compat
requires no automatic version bump.shake-bench
is an internal testing tool, not exposed to the outside world. Thus, no version bump required for releases../GenChangelogs.hs <api-key> <tag>
<tag>
is the git tag you want to generate the ChangeLog from.<api-key>
is a github access key: https://github.com/settings/tokenswip/<version>
git switch -c wip/<version>
<version>
git tag <version>
git push <remote> <version>
sh scripts/release/download-gh-artifacts.sh <version> <your-gpg-email>
gh-release-artifacts/haskell-language-server-<version>/
gh-release-artifacts/haskell-language-server-<version>/
cd gh-release-artifacts/haskell-language-server-<version>
SIGNING_KEY=... ../../release/upload.sh upload
gpg --list-secret-keys --keyid-format=long
https://downloads.haskell.org/~hls/haskell-language-server-<version>/
SIGNING_KEY=... ../../release/upload.sh purge_all
to remove CDN cachesghcup-vanilla-0.0.8.yaml
andghcup-vanilla-0.0.7.yaml
sh scripts/release/create-yaml-snippet.sh <version>
to generate a snippet that can be manually inserted into the yaml filesupdateCurrently unnecessary, GHCup builds its own HLS binaries and updates that file.hls-metadata-0.0.1.json
cabal run ghcup-gen -- generate-hls-ghcs -f ghcup-0.0.7.yaml --format json --stdout
in the root of ghcup-metadata repositoryIn addition to the normal release checklist, we are updating the release CI to run some jobs on the customer runner provided by maerwald.