Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: include lightweight tags in check #12

Merged
merged 1 commit into from
Aug 17, 2023
Merged

fix: include lightweight tags in check #12

merged 1 commit into from
Aug 17, 2023

Conversation

lukehsiao
Copy link
Contributor

@lukehsiao lukehsiao commented Aug 2, 2023

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].

Closes: #11
Signed-off-by: Luke Hsiao [email protected]


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 <[email protected]>
@cocogitto-bot
Copy link

cocogitto-bot bot commented Aug 2, 2023

✔️ dfd5afc - Conventional commits check succeeded.

@lukehsiao
Copy link
Contributor Author

@oknozor any chance we could get this merged and get a new release?

@oknozor oknozor merged commit ee06dcd into cocogitto:main Aug 17, 2023
@oknozor
Copy link
Collaborator

oknozor commented Aug 17, 2023

Sorry for the delay I was off for a few days :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] this gives a false warning of only looking at annotated tags
2 participants