chore: fix compare-master-to-stable script