Skip to content

Commit

Permalink
fix: fix Node.js version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Nov 9, 2021
1 parent 71ad7cc commit 5c25d05
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Sometimes bloody enterprise enforces you not to use any third-party solutions fo
Old good script **copy-paste** hurries to the rescue!

### Requirements
* mac / linux
* Node.js >= 14
* macOS / linux
* Node.js >= 14.13.1
* git >= 2.0
* zx >= 1.6.0

Expand All @@ -35,12 +35,12 @@ Old good script **copy-paste** hurries to the rescue!
curl https://raw.githubusercontent.com/semrel-extra/zx-semrel/master/release.mjs > ./release.mjs
zx ./release.mjs
```
or just this like if `zx` is not installed:
or this like if `zx` is not installed:
```bash
# Just replace GIT* env values with your own
GIT_COMMITTER_NAME=antongolub GIT_COMMITER_EMAIL=mailbox@antongolub.ru GITHUB_TOKEN=token npx zx ./release.mjs
```
or run as is without any edits though **npx**:
or just run it without any edits though **npx**:
```bash
# Cross your fingers for luck
GIT_COMMITTER_NAME=antongolub GIT_COMMITER_EMAIL=mailbox@antongolub.ru GITHUB_TOKEN=token npx zx-semrel
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"release": "zx ./release.mjs"
},
"engines": {
"node": ">=14"
"node": ">=14.13.1"
},
"bin": {
"zx-semrel": "./cli.sh"
Expand All @@ -27,7 +27,8 @@
"keywords": [
"zx",
"semrel",
"release"
"release",
"semantic-release"
],
"author": "Anton Golub <mailbox@antongolub.ru>",
"license": "MIT",
Expand Down

0 comments on commit 5c25d05

Please sign in to comment.