fix snapshot release

please @nacx, can you review and confirm these changes?