From f796f4e734ec0bba3fff0866085ec4cc03c564f2 Mon Sep 17 00:00:00 2001 From: crimson-knight Date: Tue, 8 Nov 2022 07:29:55 -0500 Subject: [PATCH 1/2] Changed node version check to look for v14 only --- src/amber/cli/templates/app/package.json.ecr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amber/cli/templates/app/package.json.ecr b/src/amber/cli/templates/app/package.json.ecr index a3b680617..fb430fd3b 100644 --- a/src/amber/cli/templates/app/package.json.ecr +++ b/src/amber/cli/templates/app/package.json.ecr @@ -20,7 +20,7 @@ "file-loader": "^6.2.0", "html-webpack-plugin": "^5.3.1", "mini-css-extract-plugin": "^1.6.0", - <% if `node -v`.matches?(/v14|v16/) -%> + <% if `node -v`.matches?(/v14/) -%> "node-sass": "^5.0.0", "sass-loader": "^11.0.1", <% else -%> From d2f87a816a060c0a056e70bc4b806bbc93bb9717 Mon Sep 17 00:00:00 2001 From: crimson-knight Date: Tue, 8 Nov 2022 09:18:08 -0500 Subject: [PATCH 2/2] Bump amber version and updated cli template to use latest release version instead of master branch --- shard.yml | 2 +- src/amber/cli/templates/app/shard.yml.ecr | 3 +-- src/amber/version.cr | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/shard.yml b/shard.yml index e4bcb95dc..e19af5311 100644 --- a/shard.yml +++ b/shard.yml @@ -1,6 +1,6 @@ name: amber -version: 1.3.0 +version: 1.3.1 authors: - Amber Team and Contributors diff --git a/src/amber/cli/templates/app/shard.yml.ecr b/src/amber/cli/templates/app/shard.yml.ecr index d24cc2690..e2b349fad 100644 --- a/src/amber/cli/templates/app/shard.yml.ecr +++ b/src/amber/cli/templates/app/shard.yml.ecr @@ -18,8 +18,7 @@ targets: dependencies: amber: github: amberframework/amber - #version: <%= Amber::VERSION %> - branch: master + version: <%= Amber::VERSION %> granite: github: amberframework/granite diff --git a/src/amber/version.cr b/src/amber/version.cr index bc3427afb..c076a8bb6 100644 --- a/src/amber/version.cr +++ b/src/amber/version.cr @@ -1,3 +1,3 @@ module Amber - VERSION = "1.3.0" + VERSION = "1.3.1" end