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

Add an option to only allow incremental package versions to be published #43

Closed
Tohaker opened this issue Sep 13, 2021 · 1 comment
Closed

Comments

@Tohaker
Copy link
Contributor

Tohaker commented Sep 13, 2021

It appears that using the semver.diff function only checks if the package version is different, and subsequently ignores whether the version is actually a higher or lower version.

I'd like to add an option that uses semver.compare to only run if the new package version is higher than that already published. I'm thinking something along the lines of greater-version (default: false, for backwards compatibility).

I'll raise a PR with an implementation too.

@mcous
Copy link
Member

mcous commented Apr 7, 2023

Resolved by #44 and #58. Not yet released to a tag, but in the mean time should be available via the commit directly: 8a7309043b3e67e38892ed629a136899c3cf166a

@mcous mcous closed this as completed Apr 7, 2023
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