I thought the same, but:
- Get into your Cloudflare dashboard > Pages
- Select your project > Go to Settings
- Select Environment Variables
In Production add a variable with the name HUGO_VERSION and the value you want. (0.87.0 for now)
Commit, build and ship! 🚀