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

Pre-release handling #24

Open
roborourke opened this issue Jun 28, 2022 · 3 comments
Open

Pre-release handling #24

roborourke opened this issue Jun 28, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@roborourke
Copy link

What you want to add

It's not clear how this behaves with pre-releases, so it'd be great to see a documentation update, but the best outcome would be an input for whether or not to include pre-release tags.

Why this is needed

The latest tag someone wants may or may not be a pre-release version, e.g. 0.5.0 vs 1.0.0-beta.1 - which would be returned?

@roborourke roborourke added the enhancement New feature or request label Jun 28, 2022
@zischknall
Copy link

I just ran into this problem today (what a coincidence), I am trying to use this action for pre-release tags but it does not seem like the grep expression matches pre-release versions.

@roborourke
Copy link
Author

I think it does match but I want to the opposite behaviour for my own purposes. Not tested it yet but looks easy to change

@falmanna
Copy link

@roborourke @zischknall problem is this is running using -E and this doesn't support lookaheads and lookaheads and lookbehinds.
This should be replaced with -P

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

No branches or pull requests

3 participants