Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisMT committed Aug 18, 2020
1 parent 930b6fa commit 52bfdf2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Version placeholder to replace in case of file target. Default `"0.0.0+developme

### `version`

The current version
The current version.

## Example usage

Expand All @@ -52,7 +52,7 @@ jobs:
### Build a Node package using the current Git tag
This example directly replaces the version placeholder in `package.json` with the parsed version.
This example directly replaces the version placeholder in `package.json` with the parsed version. The string `0.0.0+development` will be replaced in the specified `target_file` by default.

```yaml
jobs:
Expand All @@ -72,8 +72,7 @@ jobs:

### Build a Node package using the current Git commit

This example directly replaces the version placeholder in `package.json` with the parsed version.
The commit hash can be used for builds that aren't tagged, e.g. automated test builds.
This example directly replaces the version placeholder in `package.json` with the parsed version. The string `0.0.0+development` will be replaced in the specified `target_file` by default. The commit hash can be used for builds that aren't tagged, e.g. automated test builds.

```yaml
jobs:
Expand Down

0 comments on commit 52bfdf2

Please sign in to comment.