pub fn release_dir_name(index: usize, tag: &str) -> StringExpand description
A filesystem-safe, collision-free directory name for a release.
Sanitising alone is not enough: tags may contain / (release/1.0), and
mapping both v1/0 and v1_0 to v1_0 would let two releases share a
directory. The index keeps them distinct.