Skip to content

Commit

Permalink
Update to PureScript v0.15.4 (#282)
Browse files Browse the repository at this point in the history
* Add script to easily update project

* Update to 0.15.4; update package set

* Add changelog

* Update release date
  • Loading branch information
JordanMartinez committed Jul 12, 2022
1 parent 9ba215d commit b5fec9b
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ Bugfixes:

Other improvements:

## [v2022-07-12.1](https://github.com/purescript/trypurescript/releases/tag/v2022-07-12.1)

Other improvements:
- Update to PureScript 0.15.4 (#281 by @JordanMartinez)

## [v2022-06-24.1](https://github.com/purescript/trypurescript/releases/tag/v2022-06-24.1)

Other improvements:
Expand Down
4 changes: 2 additions & 2 deletions client/src/Try/SharedConfig.purs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ module Try.SharedConfig where
import Prelude

pursVersion :: String
pursVersion = "v0.15.3"
pursVersion = "v0.15.4"

pursReleaseUrl :: String
pursReleaseUrl = "https://github.com/purescript/purescript/releases/tag/" <> pursVersion

packageSetVersion :: String
packageSetVersion = "0.15.2-20220621"
packageSetVersion = "0.15.2-20220624"

packageSetPackageJsonUrl :: String
packageSetPackageJsonUrl = "https://github.com/purescript/package-sets/blob/psc-" <> packageSetVersion <> "/packages.json"
23 changes: 23 additions & 0 deletions prep-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash

pushd staging || exit 1

spago upgrade-set

cat > spago.dhall << EOF
{ name = "try-purescript-server"
, dependencies = [] : List Text
, packages = ./packages.dhall
, sources = [ "src/**/*.purs" ]
}
EOF
spago ls packages | cut -f 1 -d ' ' | tr '\n' ' ' | xargs spago install

popd || exit 1

pushd client || exit 1

npm run updateConfigVersions

popd || exit 1
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ packages:
- "."

extra-deps:
- purescript-0.15.3
- purescript-0.15.4
- language-javascript-0.7.0.0
- process-1.6.13.1
# The Cabal library is not in Stackage
Expand Down
4 changes: 2 additions & 2 deletions staging/packages.dhall
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.15.2-20220621/packages.dhall
sha256:78caab14e4d8ff3886a057f0380c2d4a2500e2ee7ab5c1d32a0f9ce5c71eedd8
https://github.com/purescript/package-sets/releases/download/psc-0.15.2-20220624/packages.dhall
sha256:08989ed9f53e381f879f1b7012ad7684b1ed64d7164c4ad75e306d3210a46c92

in upstream
2 changes: 2 additions & 0 deletions staging/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
, "debug"
, "decimals"
, "deku"
, "deno"
, "dissect"
, "distributive"
, "dodo-printer"
Expand Down Expand Up @@ -94,6 +95,7 @@
, "fuzzy"
, "gen"
, "generate-values"
, "generic-router"
, "geometry-plane"
, "github-actions-toolkit"
, "graphs"
Expand Down

0 comments on commit b5fec9b

Please sign in to comment.