Skip to content

Commit

Permalink
Merge pull request #78 from aegershman/patch-1
Browse files Browse the repository at this point in the history
Add clarification to pre param
  • Loading branch information
vito authored Sep 11, 2018
2 parents c0ddc8b + 6ef18d8 commit 14d0a62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ be one of:
type, (e.g. `alpha` vs. `beta`), the type is switched and the prerelease
version is reset to `1`. If the version is *not* already a pre-release, then
`pre` is added, starting at `1`.

The value of `pre` can be anything you like; the value will be `pre`-pended (_hah_) to a numeric value. For example, `pre: build` will result in a semver of `x.y.z-build.<number>`, `pre: alpha` becomes `x.y.z-alpha.<number>`, and `pre: my-preferred-naming-convention` becomes `x.y.z-my-preferred-naming-convention.<number>`

### Running the tests

Expand Down

0 comments on commit 14d0a62

Please sign in to comment.