Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Fix version comparison in release step (#14692)
We don't fully understand why, but the node 16/npm upgrade broke the old way of comparing versions. This check is only done as a safeguard to make sure that packages we're about to publish all have a version matching the version we're releasing. The check is only done when releasing. I converted the script that checks the current version to a CJS script to help with shell escaping issues. This change worked in manual testing. I'm going to merge this into the release branch, and if it works, then I'll port to main.
- Loading branch information