chore(build): check cdn before executing the release-after-cdn script