Skip to content

Commit

Permalink
Correct version number for GHC 9.12.1-alpha1
Browse files Browse the repository at this point in the history
Due to a packaging mistake, GHC 9.12.1-alpha1 uses the version number
9.12.20241014 rather than 9.12.0.20241014. See
https://gitlab.haskell.org/ghc/ghc/-/issues/25123#note_591718.

This updates `haskell-ci` to use the actual version number.
  • Loading branch information
RyanGlScott committed Oct 21, 2024
1 parent 5ee490c commit 393b109
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions fixtures/all-versions.github
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
compilerVersion: "8.4"
setup-method: hvr-ppa
allow-failure: false
- compiler: ghc-9.12.0.20241014
- compiler: ghc-9.12.20241014
compilerKind: ghc
compilerVersion: 9.12.0.20241014
compilerVersion: 9.12.20241014
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.10.1
Expand Down
4 changes: 2 additions & 2 deletions fixtures/doctest-version.github
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
compilerVersion: "8.4"
setup-method: hvr-ppa
allow-failure: false
- compiler: ghc-9.12.0.20241014
- compiler: ghc-9.12.20241014
compilerKind: ghc
compilerVersion: 9.12.0.20241014
compilerVersion: 9.12.20241014
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.10.1
Expand Down
4 changes: 2 additions & 2 deletions fixtures/doctest.github
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
compilerVersion: "8.4"
setup-method: hvr-ppa
allow-failure: false
- compiler: ghc-9.12.0.20241014
- compiler: ghc-9.12.20241014
compilerKind: ghc
compilerVersion: 9.12.0.20241014
compilerVersion: 9.12.20241014
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.10.1
Expand Down
4 changes: 2 additions & 2 deletions fixtures/enabled-jobs.github
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
compilerVersion: "8.4"
setup-method: hvr-ppa
allow-failure: false
- compiler: ghc-9.12.0.20241014
- compiler: ghc-9.12.20241014
compilerKind: ghc
compilerVersion: 9.12.0.20241014
compilerVersion: 9.12.20241014
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.10.1
Expand Down
5 changes: 4 additions & 1 deletion src/HaskellCI/Compiler.hs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ dispCabalVersion :: Maybe Version -> String
dispCabalVersion = maybe "head" C.prettyShow

ghcAlpha :: Maybe (Version, Version)
ghcAlpha = Just (mkVersion [9,12,1], mkVersion [9,12,0,20241014])
-- Due to a packaging mistake, GHC 9.12.1-alpha1 uses the version number
-- 9.12.20241014 rather than 9.12.0.20241014. See
-- https://gitlab.haskell.org/ghc/ghc/-/issues/25123#note_591718
ghcAlpha = Just (mkVersion [9,12,1], mkVersion [9,12,20241014])

-- | GHC HEAD, and versions specified by head.hackage option.
usesHeadHackage
Expand Down

0 comments on commit 393b109

Please sign in to comment.