Fixed up release tasks

This is... complicated.