Merge pull request #70 from tkf/uuid

Revert "Use METADATA-compatible UUIDs"
This commit is contained in:
Chris de Graaf 2019-05-14 14:39:10 -05:00 committed by GitHub
commit 40c22b1a53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,11 +18,6 @@ function generate(
# Create the directory with some boilerplate inside. # Create the directory with some boilerplate inside.
Pkg.generate(pkg_dir) 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 if git
# Initialize the repo. # Initialize the repo.
repo = LibGit2.init(pkg_dir) repo = LibGit2.init(pkg_dir)