diff --git a/ChangeLog.md b/ChangeLog.md index 8b8c6371c3..ed71563762 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -3,6 +3,7 @@ ## 2.7.0.0 - Bindists for GHC 9.8.2 + - Enable many more plugins, making GHC 9.8.2 fully supported - Fix refactor code actions for vim - Preserve HLint's diagnostic severity - Many other bug fixes. diff --git a/RELEASING.md b/RELEASING.md index f50fc4e7b9..73f887b9fc 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -40,9 +40,9 @@ - Afterwards, the artifacts are available at: `https://downloads.haskell.org/~hls/haskell-language-server-/` - Run `SIGNING_KEY=... ../../release/upload.sh purge_all` to remove CDN caches - [ ] create PR to [ghcup-metadata](https://github.com/haskell/ghcup-metadata) - - [ ] update `ghcup-0.0.7.yaml` and `ghcup-vanilla-0.0.7.yaml` + - [ ] update `ghcup-vanilla-0.0.8.yaml` and `ghcup-vanilla-0.0.7.yaml` - can use `sh scripts/release/create-yaml-snippet.sh ` to generate a snippet that can be manually inserted into the yaml files - - [ ] update `hls-metadata-0.0.1.json` + - ~~update `hls-metadata-0.0.1.json`~~ Currently unnecessary, GHCup builds its own HLS binaries and updates that file. - utilize `cabal run ghcup-gen -- generate-hls-ghcs -f ghcup-0.0.7.yaml --format json --stdout` in the root of ghcup-metadata repository - Be sure to mark the correct latest version and add the 'recommended' tag to the latest release. - [ ] get sign-off on release diff --git a/scripts/release/download-gh-artifacts.sh b/scripts/release/download-gh-artifacts.sh index fc6638f181..217422eedb 100644 --- a/scripts/release/download-gh-artifacts.sh +++ b/scripts/release/download-gh-artifacts.sh @@ -22,12 +22,21 @@ cd "gh-release-artifacts/haskell-language-server-${RELEASE}" # github gh release download "$RELEASE" +## We can't do cirrus releases any more, as we build HLS releases with ghcup vanilla binaries. +## Vanilla means "upstream", aka GHC HQ, and GHC HQ does not provide bindists for FreeBSD. +## Until we start using ghcup's mainstream distribution channel, we can't even begin to build +## binaries for FreeBSD. We keep this here for the next generation or when the situation changes. +## +## We don't use ghcup's mainstream distribution channel, as we only provide vanilla binaries +## as requested by the ghcup distribution channel team. # cirrus -curl --fail -L -o "haskell-language-server-${RELEASE}-x86_64-freebsd.tar.xz" \ - "https://api.cirrus-ci.com/v1/artifact/github/haskell/haskell-language-server/bindist/bindist/out/haskell-language-server-${RELEASE}-x86_64-freebsd.tar.xz?branch=${RELEASE}" +# curl --fail -L -o "haskell-language-server-${RELEASE}-x86_64-freebsd.tar.xz" \ +# "https://api.cirrus-ci.com/v1/artifact/github/haskell/haskell-language-server/bindist/bindist/out/haskell-language-server-${RELEASE}-x86_64-freebsd.tar.xz?branch=${RELEASE}" sha256sum haskell-language-server-* > SHA256SUMS gpg --detach-sign -u "${SIGNER}" SHA256SUMS -gh release upload "$RELEASE" "haskell-language-server-${RELEASE}-x86_64-freebsd.tar.xz" SHA256SUMS SHA256SUMS.sig +## see comment above +# gh release upload "$RELEASE" "haskell-language-server-${RELEASE}-x86_64-freebsd.tar.xz" SHA256SUMS SHA256SUMS.sig +gh release upload "$RELEASE" SHA256SUMS SHA256SUMS.sig