Skip to content

Commit

Permalink
docs: typos. clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Jan 5, 2018
1 parent 75778bc commit ba79c85
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/recipes/gitlab-ci.md
Expand Up @@ -51,7 +51,7 @@ publish:
- npm run semantic-release

# Only for a global semantic-release installation
- npm install semantic-release
- npm install -g semantic-release
- semantic-release
```

Expand Down
2 changes: 1 addition & 1 deletion docs/support/FAQ.md
Expand Up @@ -38,7 +38,7 @@ See the [CI configuration recipes](../recipes/README.md#ci-configurations) for m

Yes, **semantic-release** is a Node CLI application but it can be used to publish any type of packages.

To publish a non-JavaScript package you would need to:
To publish a non-Node package (without a `package.json`) you would need to:
- Use a [global](../usage/installation.md#global-installation) **semantic-release** installation
- Set **semantic-release** [options](../usage/configuration.md#options) via [CLI arguments or rc file](../usage/configuration.md#configuration)
- Make sure your CI job executing the `semantic-release` command has access to [Node >= 8](#why-does-semantic-release-require-node-version--8) to execute the `semantic-release` command
Expand Down
1 change: 1 addition & 0 deletions docs/usage/installation.md
Expand Up @@ -30,3 +30,4 @@ For other type of projects we recommend to install **semantic-release** globally
$ npm install -g semantic-release
$ semantic-release
```
**Note:**: For a global installation, it's recommended to specify the major **semantic-release** version to install (for example with with `npm install -g semantic-release@12`). This way your build will not automatically use the next major **semantic-release** release that could possibly break your build. You will have to upgrade manually when a new major version is released.

0 comments on commit ba79c85

Please sign in to comment.