Describe the bug
I'm attempting to upgrade to Prisma 1.10. After bumping the version in my docker-compose file, and the cli version, I attempted to run prisma deploy, but received an error:
â–¸ Invalid Version: 1.1
To Reproduce
Steps to reproduce the behavior:
1.10.0prisma deployExpected behavior
Deployment proceeds
Additional context
I did some troubleshooting and I believe the issue lies with this regex.
When I log the result of cluserMatch, I get:
1.10.0
1.1
0.0
So, when clusterMatch[1] is passed to the semver check on line 281, that module throws the error from above (Invalid Version: 1.1). It seems the regex match is stripping the 0s.
I'm terrible with regex or I'd try to fix it myself, but hopefully that'll at least point you in the right direction!
I'm going to try using the most recent beta version for my docker image and see if that'll work.
Just tried knocking the docker image back to 1.10-beta and the deployment worked, for anyone who needs a work-around while this gets fixed!
Fixed in 1.10.1. Please let us know if you still have that issue, then we reopen it!
Most helpful comment
Just tried knocking the docker image back to
1.10-betaand the deployment worked, for anyone who needs a work-around while this gets fixed!