Merge pull request #70 from tkf/uuid
Revert "Use METADATA-compatible UUIDs"
This commit is contained in:
commit
40c22b1a53
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user