-
-
Notifications
You must be signed in to change notification settings - Fork 388
Prepare release 2.10.0.0 #4448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare release 2.10.0.0 #4448
Conversation
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 |
Releasing
Release checklist
.github/generate-ci/gen_ci.hs
./.github/generate-ci/generate-jobs
*.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 repository