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

Test on secrets

parent fb431311
No related branches found
No related tags found
No related merge requests found
......@@ -49,19 +49,25 @@ 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
- |
......
name = "FACT_data_project"
uuid = "9bf55ab0-86df-46ea-a77c-613ba63832e0"
authors = ["Riccardo Boero <ribo@nilu.no>"]
version = "0.0.1"
version = "0.0.2"
[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
......
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