Added auto-increment section.
This commit is contained in:
parent
7f84e9d589
commit
6bdf7a1f99
1 changed files with 12 additions and 2 deletions
12
README.md
12
README.md
|
@ -115,5 +115,15 @@ example.project=Example
|
||||||
example.major=1
|
example.major=1
|
||||||
example.minor=0
|
example.minor=0
|
||||||
example.patch=0
|
example.patch=0
|
||||||
...
|
# ...
|
||||||
|
```
|
||||||
|
|
||||||
|
## Auto-Increment
|
||||||
|
|
||||||
|
Incrementing the version is best left to your favorite build system.
|
||||||
|
|
||||||
|
For a solution using [Gradle](https://gradle.org/), please have a look at the `build.gradle` file in the `example` module directory. To run the example with patch version auto-incrementing, issue the following command:
|
||||||
|
|
||||||
|
```
|
||||||
|
gradle clean release run
|
||||||
```
|
```
|
Loading…
Add table
Add a link
Reference in a new issue