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

Version overflow above 256 #1

Open
Syndesi opened this issue Apr 21, 2023 · 0 comments
Open

Version overflow above 256 #1

Syndesi opened this issue Apr 21, 2023 · 0 comments

Comments

@Syndesi
Copy link

Syndesi commented Apr 21, 2023

Hi,

when I use your tool with larger version numbers, I get an overflow and the version jumps back to 1:

docker run -it usvc/semver:latest bump patch 0.0.255
> 0.0.256
docker run -it usvc/semver:latest bump patch 0.0.256
> 0.0.1

I guess that it's due to using bytes internally?
To be honest I don't use those large version numbers myself, I just did some testing ^^
Great tool btw :D

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