[ci]: fix backport sync script (#92942)
Fixes a few things: - semver wasn't available because deps weren't being installed - Fixed it to compare latest release with latest canary -- it was erroneously marking a backport as not a backport. Test plan: Dry run results here: https://github.com/vercel/next.js/actions/runs/24571828615/job/71846911677 ``` should_dispatch=true reason=Dispatching canary preminor release because stable release 16.2.4 is ahead of 16.2.1-canary.46 released_version=16.2.4 current_canary_version=16.2.1-canary.46 dispatch_input=false auto_dispatch_enabled=true ```
Showing
Please
register
or
sign in
to comment