2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: inc
|
|
|
|
layout: command
|
|
|
|
version: 0.59.0
|
|
|
|
---
|
2019-10-06 17:27:51 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
Increment a value or version. Optionally use the column of a table.
|
2019-10-06 17:27:51 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Signature
|
2019-10-06 17:27:51 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
```> inc --major --minor --patch```
|
2020-06-23 20:21:47 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Parameters
|
2019-10-06 17:27:51 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
- `--major`: increment the major version (eg 1.2.1 -> 2.0.0)
|
|
|
|
- `--minor`: increment the minor version (eg 1.2.1 -> 1.3.0)
|
|
|
|
- `--patch`: increment the patch version (eg 1.2.1 -> 1.2.2)
|
2020-06-23 20:21:47 +02:00
|
|
|
|