enforce correct state and tag before release, #54