0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-23 04:40:39 +00:00

docs: document tags requirement (#125)

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
This commit is contained in:
Patrick Schratz 2024-10-21 20:26:54 +02:00 committed by GitHub
parent b605085837
commit 918e070248
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,6 +189,17 @@ git-sv commit-log --range hash --start 7ea9306~1 --end c444318
git-sv commit-log --range tag git-sv commit-log --range tag
``` ```
### CI systems
For `git-sv` to work, the git tag information must be present. Some CI systems omit the tags by default during the clone and it might be necessary to fetch tags manually.
#### Woodpecker CI
The default clone plugin skips tags. This behavior can be changed by one of the following methods:
- define a custom clone step with `tags: true` when using `plugins/git-clone
- perform a manual clone within a command
## Contributors ## Contributors
Special thanks to all [contributors](https://github.com/thegeeklab/git-sv/graphs/contributors). If you would like to contribute, please see the [instructions](https://github.com/thegeeklab/git-sv/blob/main/CONTRIBUTING.md). Special thanks to all [contributors](https://github.com/thegeeklab/git-sv/graphs/contributors). If you would like to contribute, please see the [instructions](https://github.com/thegeeklab/git-sv/blob/main/CONTRIBUTING.md).