Skip to content

Commit

Permalink
Merge branch 'master' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Nov 21, 2019
2 parents ae40d3f + 54f7b2d commit ce00d40
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -3,7 +3,7 @@ language: node_js
node_js:
- 12
- 10
- 8.15
- 8.16

# Trigger a push build on release and greenkeeper branches + PRs build on every branches
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -48,6 +48,8 @@ With this example:
- the shell command `./verify.sh` will be executed on the [verify conditions step](https://github.com/semantic-release/semantic-release#release-steps)
- the shell command `./publish.sh 1.0.0 master 3 870668040000` (for the release of version `1.0.0` from branch `master` with `3` commits on `August 4th, 1997 at 2:14 AM`) will be executed on the [publish step](https://github.com/semantic-release/semantic-release#release-steps)

**Note**: it's required to define a plugin for the [analyze commits step](https://github.com/semantic-release/semantic-release#release-steps). If no [analyzeCommitsCmd](#analyzecommitscmd) is defined the plugin [@semantic-release/commit-analyzer](https://github.com/semantic-release/commit-analyzer) must be defined in the `plugins` list.

## Configuration

### Options
Expand Down
10 changes: 2 additions & 8 deletions lib/exec.js
Expand Up @@ -10,14 +10,8 @@ module.exports = async (cmdProp, {shell, execCwd, ...config}, {cwd, env, stdout,

const result = execa(script, {shell: shell || true, cwd: execCwd ? path.resolve(cwd, execCwd) : cwd, env});

result.stdout.pipe(
stdout,
{end: false}
);
result.stderr.pipe(
stderr,
{end: false}
);
result.stdout.pipe(stdout, {end: false});
result.stderr.pipe(stderr, {end: false});

return (await result).stdout.trim();
};
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -14,7 +14,7 @@
"@semantic-release/error": "^2.1.0",
"aggregate-error": "^3.0.0",
"debug": "^4.0.0",
"execa": "^3.0.0",
"execa": "^3.2.0",
"lodash": "^4.17.4",
"parse-json": "^5.0.0"
},
Expand All @@ -28,7 +28,7 @@
"xo": "^0.25.0"
},
"engines": {
"node": ">=8.15"
"node": ">=8.16"
},
"files": [
"lib",
Expand Down

0 comments on commit ce00d40

Please sign in to comment.