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

Command-line option to validate that new version is greater than existing version #74

Open
rngadam opened this issue Jan 11, 2024 · 0 comments

Comments

@rngadam
Copy link

rngadam commented Jan 11, 2024

We run into the situation where someone erroneously manually updated a version in the generated src/_versions.ts from 0.1.0 to 0.2.0

Further uses of ts-appversion then gets the correct current version 0.1.0 and generates src/_versions.ts

So now we have a _versions.ts that goes from 0.1.0 to 0.2.0 to 0.1.0 again.

Could be useful to add a flag option to check that the new version is semantically greater than the previous version of _versions.ts?

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