Skip to content

Commit b5a37f7

Browse files
authored
Merge pull request #2850 from haskell/wip/1.7-release-scripts
Add scripts for releases and final 1.7 tweaks
2 parents 24e3e13 + 18af8aa commit b5a37f7

File tree

28 files changed

+270
-31
lines changed

28 files changed

+270
-31
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,14 @@ variables:
1313

1414
.windows_matrix: &windows_matrix
1515
matrix:
16-
- GHC_VERSION: 8.8.4
17-
CABAL_PROJECT: cabal.project
1816
- GHC_VERSION: 8.10.7
1917
CABAL_PROJECT: cabal.project
2018
- GHC_VERSION: 9.0.2
2119
CABAL_PROJECT: cabal-ghc90.project
22-
- GHC_VERSION: 9.2.1
23-
CABAL_PROJECT: cabal-ghc92.project
2420
- GHC_VERSION: 9.2.2
2521
CABAL_PROJECT: cabal-ghc92.project
22+
- GHC_VERSION: 9.2.1
23+
CABAL_PROJECT: cabal-ghc92.project
2624

2725
workflow:
2826
rules:

.gitlab/tar.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ls -la out/
1010
TARBALL_PREFIX="haskell-language-server"
1111
case "${TARBALL_EXT}" in
1212
zip)
13-
HLS_VERSION="$("$CI_PROJECT_DIR/out/haskell-language-server-wrapper" --numeric-version)"
13+
HLS_VERSION="$("$CI_PROJECT_DIR/out/haskell-language-server-8.10.7" --numeric-version)"
1414
cd out/
1515
zip "${TARBALL_PREFIX}-${HLS_VERSION}-${TARBALL_ARCHIVE_SUFFIX}.zip" haskell-language-server-*
1616
find . -type f ! -name '*.zip' -delete

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ define set_rpath
6666
endef
6767

6868
hls: bindist/ghcs
69-
for ghc in $(shell [ -e "bindist/ghcs-`uname`" ] && cat "bindist/ghcs-`uname`" || cat "bindist/ghcs") ; do \
69+
for ghc in $(shell [ -e "bindist/ghcs-`uname -o`" ] && cat "bindist/ghcs-`uname -o`" || cat "bindist/ghcs") ; do \
7070
$(GHCUP) -v install ghc `echo $$ghc | $(AWK) -F ',' '{ print $$1 }'` && \
7171
$(GHCUP) -v gc -p -s -c && \
7272
$(MAKE) GHC_VERSION=`echo $$ghc | $(AWK) -F ',' '{ print $$1 }'` PROJECT_FILE=`echo $$ghc | $(AWK) -F ',' '{ print $$2 }'` hls-ghc && \

bindist/ghcs-Msys

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
8.10.7,cabal.project
2+
9.0.2,cabal-ghc90.project
3+
9.2.2,cabal-ghc92.project
4+
9.2.1,cabal-ghc92.project

haskell-language-server.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ test-suite func-test
477477
, lens
478478
, lens-aeson
479479
, ghcide
480-
, hls-test-utils ^>=1.2
480+
, hls-test-utils ^>=1.3
481481
, lsp-types
482482
, aeson
483483
, hls-plugin-api

hls-test-utils/hls-test-utils.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: hls-test-utils
3-
version: 1.2.0.0
3+
version: 1.3.0.0
44
synopsis: Utilities used in the tests of Haskell Language Server
55
description:
66
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>

plugins/hls-alternate-number-format-plugin/hls-alternate-number-format-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ test-suite tests
5757
, base >=4.12 && < 5
5858
, filepath
5959
, hls-alternate-number-format-plugin
60-
, hls-test-utils ^>=1.2
60+
, hls-test-utils ^>=1.3
6161
, lsp
6262
, QuickCheck
6363
, regex-tdfa

plugins/hls-brittany-plugin/hls-brittany-plugin.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: hls-brittany-plugin
3-
version: 1.0.2.0
3+
version: 1.0.2.1
44
synopsis: Integration with the Brittany code formatter
55
description:
66
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -48,4 +48,4 @@ test-suite tests
4848
, base
4949
, filepath
5050
, hls-brittany-plugin
51-
, hls-test-utils ^>=1.2
51+
, hls-test-utils ^>=1.3

plugins/hls-call-hierarchy-plugin/hls-call-hierarchy-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ test-suite tests
5555
, extra
5656
, filepath
5757
, hls-call-hierarchy-plugin
58-
, hls-test-utils ^>=1.2
58+
, hls-test-utils ^>=1.3
5959
, lens
6060
, lsp
6161
, lsp-test

plugins/hls-change-type-signature-plugin/hls-change-type-signature-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test-suite tests
5454
, base >=4.12 && < 5
5555
, filepath
5656
, hls-change-type-signature-plugin
57-
, hls-test-utils ^>=1.2
57+
, hls-test-utils ^>=1.3
5858
, lsp
5959
, QuickCheck
6060
, regex-tdfa

0 commit comments

Comments
 (0)