Skip to content
Snippets Groups Projects
Commit 3d002b06 authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

Revert change not working

parent 5a945d89
No related branches found
No related tags found
No related merge requests found
......@@ -49,25 +49,19 @@ register package:
script:
# Use a temporary Julia environment for LocalRegistry
julia -e '
- julia -e '
using Pkg;
Pkg.activate(temp=true);
Pkg.add("LocalRegistry");
using LocalRegistry;
LocalRegistry.register(
registry = "/tmp/registry",
commit = true,
push = false,
ignore_reregistration = false,
allow_package_dirty = true
registry = "/tmp/registry",
commit = true,
push = false,
ignore_reregistration = false,
allow_package_dirty = true
);
package_dir = "/tmp/registry/$(Pkg.project().name)"
package_toml = joinpath(package_dir, "Package.toml")
pkg_data = read(package_toml, String)
open(package_toml, "w") do f
write(f, replace(pkg_data, r"https://.*?@" => "https://"))
end
'
'
# Push changes to the registry
- |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment