Add Enforce no snapshots in release

finish #2872