1 | Usage
|
2 | $ bumped <command>
|
3 |
|
4 | Commands
|
5 | init Initializes a new `.bumpedrc` file in the current directory.
|
6 | Bumped detects configuration files such as `package.json`
|
7 | by default, but you can add files with `add` as well.
|
8 |
|
9 | add Add a new file in your current configuration.
|
10 | When you add a file, the shared version between the configuration
|
11 | files is recalculated to get the more high version possible.
|
12 |
|
13 | version Prints the current synchronized version.
|
14 |
|
15 | release Bumped a new version of your software, updating the
|
16 | version in your configuration files.
|
17 |
|
18 | bumped supports different release keywords styles, namely:
|
19 |
|
20 | semver:
|
21 | $ bumped release <major|premajor|minor|preminor|patch|prepatch|prerelease>
|
22 |
|
23 | nature:
|
24 | $ bumped release <breaking|feature|fix>
|
25 |
|
26 | numeric:
|
27 | $ bumped release <[0-9].[0-9].[0-9]>
|
28 |
|
29 | remove Removes a file declared in the configuration file.
|
30 | The synchronized version is recalculated.
|
31 |
|
32 | set Set or update a determinate property across the files
|
33 | declared in your configuration files.
|
34 |
|
35 | You can set Strings, Arrays or Objects:
|
36 |
|
37 | $ bumped set name newName
|
38 | $ bumped set keywords [ semver, management, cli ]
|
39 | $ bumped set authors.name newAuthor
|
40 |
|
41 | Example
|
42 | $ bumped init
|
43 | $ bumped release 1.0.0
|
44 | $ bumped release breaking
|
45 | $ bumped release premajor beta
|