[stable-4.2] add stable-release workflow (#548)
- [stable-4.2] add stable-release workflow
this backports the relevant bits of #526,
adding the stable-release workflow to stable-4.2
- [stable-4.2] backport Workflows: Fix dev-release asset upload, switch to github cli (#550)