Skip to content

Commit

Permalink
0.5.1: update snapshots.json url
Browse files Browse the repository at this point in the history
  • Loading branch information
juhp committed Mar 19, 2024
1 parent 599f063 commit d49cfe9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Release history for stack-all

## 0.5.1 (2024-03-19)
- update the stackage snapshots.json url

## 0.5 (2024-02-19)
- support ghc-X.Y/ghcX.Y aliases for lts major versions
- default oldest lts bumped from lts-11 (ghc8.2) to lts-16 (ghc8.8)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ quickly trying to build a package that does not include stack support.
### Help output
`$ stack-all --version`
```
0.5
0.5.1
```
`$ stack-all --help`
```
Expand Down
2 changes: 1 addition & 1 deletion src/Snapshots.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ latestMajorSnapshot forcerefresh ver = do

getSnapshots :: Bool -> IO Object
getSnapshots forcerefresh =
getCachedJSON "stackage-snapshots" "snapshots.json" "http://haddock.stackage.org/snapshots.json" $ if forcerefresh then 0 else 200 --minutes
getCachedJSON "stackage-snapshots" "snapshots.json" "http://www.stackage.org/download/snapshots.json" $ if forcerefresh then 0 else 200 --minutes

latestLTS :: Bool -> IO MajorVer
latestLTS refresh = do
Expand Down
4 changes: 2 additions & 2 deletions stack-all.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: stack-all
version: 0.5
version: 0.5.1
synopsis: CLI tool for building across Stackage major versions
description:
Build your Haskell project over Stackage major LTS versions.
Expand All @@ -17,7 +17,7 @@ extra-doc-files: README.md
cabal-version: 1.18
tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,
GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.8,
GHC == 9.4.8, GHC == 9.6.4, GHC == 9.8.1
GHC == 9.4.8, GHC == 9.6.4, GHC == 9.8.2

source-repository head
type: git
Expand Down

0 comments on commit d49cfe9

Please sign in to comment.