svu
svu copied to clipboard
Initial version does not work if pattern is supplied
Effectively, if a pattern is supplied and no existing tags are found an error is always returned.
https://github.com/caarlos0/svu/blob/0b3a780f7a1f9bc57d27974cd61863b68deb6ca3/internal/git/git.go#L45-L54
Whereas if no pattern is supplied, it is not an error to find no tags:
https://github.com/caarlos0/svu/blob/0b3a780f7a1f9bc57d27974cd61863b68deb6ca3/internal/git/git.go#L38-L40
I think this is quite useful when working inside monorepo. This PR https://github.com/caarlos0/svu/pull/57 looks promising. What needs to happen to have it implemented/fixed?