19 lines
207 B
Markdown
19 lines
207 B
Markdown
|
|
# CI Version Examples
|
||
|
|
|
||
|
|
```bash
|
||
|
|
core ci version
|
||
|
|
```
|
||
|
|
|
||
|
|
## Output
|
||
|
|
|
||
|
|
```
|
||
|
|
v1.2.0
|
||
|
|
```
|
||
|
|
|
||
|
|
## Version Resolution
|
||
|
|
|
||
|
|
1. `--version` flag (if provided)
|
||
|
|
2. Git tag on HEAD
|
||
|
|
3. Latest git tag + increment
|
||
|
|
4. `v0.0.1` (no tags)
|