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

Allow ignoring irrelevant parts of the version string in "latest" semver calculation #3

Closed
vyadh opened this issue Jun 26, 2019 · 0 comments

Comments

@vyadh
Copy link
Owner

vyadh commented Jun 26, 2019

The plugin currently uses semver to calculate what is the latest build, and either highlights/fades out deployments.

However, if you're not using the exact version number through different environments, the plugin does not highlight deployments as expected. For example, if you leave the build numbers for each deployment as independently incrementing.

A simple way to solve this is to assume that the semver part comes first, and anything after is just metadata. We could do this by ignoring anything after a space in the version string.

We should also better document how this works in the readme.

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

1 participant