Revert "Use METADATA-compatible UUIDs"
This partially reverts commit 8a1b65a34a
.
see: https://discourse.julialang.org/t/22677/22
This commit is contained in:
parent
901a0a3d71
commit
9662438013
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user