Skip to content

Commit

Permalink
Merge pull request #1301 from crimson-knight/fix-node-version
Browse files Browse the repository at this point in the history
Changed node version check to look for v14 only
  • Loading branch information
crimson-knight authored Nov 8, 2022
2 parents 001be3d + d2f87a8 commit 845cd42
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: amber

version: 1.3.0
version: 1.3.1

authors:
- Amber Team and Contributors <amberframework.org>
Expand Down
2 changes: 1 addition & 1 deletion src/amber/cli/templates/app/package.json.ecr
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>
Expand Down
3 changes: 1 addition & 2 deletions src/amber/cli/templates/app/shard.yml.ecr
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ targets:
dependencies:
amber:
github: amberframework/amber
#version: <%= Amber::VERSION %>
branch: master
version: <%= Amber::VERSION %>

granite:
github: amberframework/granite
Expand Down
2 changes: 1 addition & 1 deletion src/amber/version.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Amber
VERSION = "1.3.0"
VERSION = "1.3.1"
end

0 comments on commit 845cd42

Please sign in to comment.