Revert "Use METADATA-compatible UUIDs"

This partially reverts commit 8a1b65a34a.

see: https://discourse.julialang.org/t/22677/22
This commit is contained in:
Takafumi Arakaki 2019-04-10 19:29:46 -07:00
parent 901a0a3d71
commit 9662438013

View File

@ -18,11 +18,6 @@ function generate(
# Create the directory with some boilerplate inside.
Pkg.generate(pkg_dir)
# Replace the UUID with something that's compatible with METADATA.
project = joinpath(pkg_dir, "Project.toml")
uuid = string(Pkg.METADATA_compatible_uuid(pkg))
write(project, replace(read(project, String), r"uuid = .*" => "uuid = \"$uuid\""))
if git
# Initialize the repo.
repo = LibGit2.init(pkg_dir)