Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: include lightweight tags in check
Many repositories use lightweight (non-annotated) tags. This patch eliminates the scary warning that no tags were found, even if there were tags available. This makes the script match the behavior of `cog` itself (i.e., git describe --tags --abbrev=0) [[1]]. [1]: https://github.com/cocogitto/cocogitto/blob/main/src/git/revspec.rs#L347-L357 Closes: #11 Signed-off-by: Luke Hsiao <luke.hsiao@numbersstation.ai>
- Loading branch information