Skip to content

Add semver option to watch_repo #1423

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IamTheFij
Copy link
Contributor

This will fetch the list of all tags from the repo, but exclude any that are a lower semver than the current tag. This also requires sort_tags to be semver as well.

Use case for this is when a user always pins to a semver tag, eg 2.1.0. In that case, they need to watch for tags with a newer semver only. A new 2.1.1 tag should notify the user, however a patch release to an older 1.9.1 tag should not.

Something I'm thinking about is how to handle this being set to semver but sorting not. Log and ignore, update default value, throw error if explicitly in conflict?

@IamTheFij IamTheFij requested a review from crazy-max as a code owner June 9, 2025 16:47
This will fetch the list of all tags from the repo, but exclude any that
are a lower semver than the current tag. This also requires sort_tags to
be semver as well.
@IamTheFij IamTheFij force-pushed the watch-repo-semver branch from 026e0a4 to 713cfa4 Compare June 9, 2025 16:49
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.

1 participant