Skip to content

Commit

Permalink
Prep for v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
supermario committed May 2, 2024
1 parent e0ef1fe commit 008976f
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion distribution/common.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

export version="1.2.1"
export version="1.2.2"
4 changes: 3 additions & 1 deletion extra/Lamdera/Http.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ jsonHeaders =
]


normalJson :: String -> String -> D.Decoder () a -> IO (Either Error a)
normalJson :: (Show a) => String -> String -> D.Decoder () a -> IO (Either Error a)
normalJson debugIdentifier url decoder = do
manager <- Http.getManager
debug $ "HTTP GET " <> url <> " (" <> debugIdentifier <> ")"
Http.get manager url jsonHeaders HttpError $ \body ->
case D.fromByteString decoder body of
Right content ->
-- Helpful for debugging
-- return $ Right $ debugNote "response" content
return $ Right content

Left problem ->
Expand Down
2 changes: 1 addition & 1 deletion extra/Lamdera/Version.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import qualified Elm.Version as V


raw :: (Int, Int, Int)
raw = (1,2,1)
raw = (1,2,2)


rawToString :: (Int, Int, Int) -> String
Expand Down
12 changes: 6 additions & 6 deletions extra/npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lamdera",
"version": "0.19.1-1.2.1-1",
"version": "0.19.1-1.2.2",
"description": "npm install wrapper for Lamdera",
"license": "BSD-3-Clause",
"repository": "lamdera/compiler",
Expand Down Expand Up @@ -28,10 +28,10 @@
"lamdera": "bin/lamdera"
},
"optionalDependencies": {
"@lamdera/compiler-darwin-arm64": "0.19.1-1.2.1",
"@lamdera/compiler-darwin-x64": "0.19.1-1.2.1",
"@lamdera/compiler-linux-arm64": "0.19.1-1.2.1",
"@lamdera/compiler-linux-x64": "0.19.1-1.2.1",
"@lamdera/compiler-win32-x64": "0.19.1-1.2.1"
"@lamdera/compiler-darwin-arm64": "0.19.1-1.2.2",
"@lamdera/compiler-darwin-x64": "0.19.1-1.2.2",
"@lamdera/compiler-linux-arm64": "0.19.1-1.2.2",
"@lamdera/compiler-linux-x64": "0.19.1-1.2.2",
"@lamdera/compiler-win32-x64": "0.19.1-1.2.2"
}
}
2 changes: 1 addition & 1 deletion extra/npm/packages/lamdera-darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lamdera/compiler-darwin-arm64",
"version": "0.19.1-1.2.1",
"version": "0.19.1-1.2.2",
"description": "The macOS ARM 64-bit binary for Lamdera.",
"repository": "lamdera/compiler",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion extra/npm/packages/lamdera-darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lamdera/compiler-darwin-x64",
"version": "0.19.1-1.2.1",
"version": "0.19.1-1.2.2",
"description": "The macOS 64-bit binary for Lamdera.",
"repository": "lamdera/compiler",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion extra/npm/packages/lamdera-linux-arm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lamdera/compiler-linux-arm",
"version": "0.19.1-1.2.1",
"version": "0.19.1-1.2.2",
"description": "The Linux ARM 32-bit binary for Lamdera.",
"repository": "lamdera/compiler",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion extra/npm/packages/lamdera-linux-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lamdera/compiler-linux-arm64",
"version": "0.19.1-1.2.1",
"version": "0.19.1-1.2.2",
"description": "The Linux ARM 64-bit binary for Lamdera.",
"repository": "lamdera/compiler",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion extra/npm/packages/lamdera-linux-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lamdera/compiler-linux-x64",
"version": "0.19.1-1.2.1",
"version": "0.19.1-1.2.2",
"description": "The Linux 64-bit binary for Lamdera.",
"repository": "lamdera/compiler",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion extra/npm/packages/lamdera-win32-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lamdera/compiler-win32-x64",
"version": "0.19.1-1.2.1",
"version": "0.19.1-1.2.2",
"description": "The Windows 64-bit binary for Lamdera.",
"repository": "lamdera/compiler",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion extra/npm/publish-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -ex

# The publish will fail if the package name and version combination already exists in the specified registry.

version="1.2.1"
version="1.2.2"
versionFull="0.19.1-$version"
return=$(pwd)

Expand Down

0 comments on commit 008976f

Please sign in to comment.