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

Support Git tag prefixes #29

Open
andir opened this issue Apr 1, 2022 · 1 comment
Open

Support Git tag prefixes #29

andir opened this issue Apr 1, 2022 · 1 comment

Comments

@andir
Copy link
Owner

andir commented Apr 1, 2022

Some projects (notably Emacs) have prefixes in their release tags (e.g. emacs-1.2.3) instead of just bare version numbers. We should support these kinds of tags.

There are two rough ideas that come to mind:

  • Search through all tags and determine a common prefix (that doesn't represent a version)
  • Let the user specify a prefix that should be stripped and that will be used as a filter.
    Some repositories carry more than one project that might be release independently.
@piegamesde
Copy link
Collaborator

piegamesde commented Apr 1, 2022

At the moment we use a fuzzy SemVer parser. It will accept bare version numbers with a few additions to the official specification. It will also automatically strip a leading v to the version number.

I think we could try to strip *- from the tags and see if they parse after that. I'd like to not have users specify a prefix, and I'd like to call repositories with multiple (independently tagged) applications out of scope.

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

No branches or pull requests

2 participants