diff --git a/Manifest.toml b/Manifest.toml index 3779315fc..8afec64f5 100644 --- a/Manifest.toml +++ b/Manifest.toml @@ -2,7 +2,7 @@ julia_version = "1.9.3" manifest_format = "2.0" -project_hash = "f38abc22b48e63729fc0df2250576035135df64d" +project_hash = "ad860e0b29f017be37a5536db110888623df4b6c" [[deps.ADTypes]] git-tree-sha1 = "5d2e21d7b0d8c22f67483ef95ebdc39c0e6b6003" diff --git a/build/create_binaries/add_metadata.jl b/build/create_binaries/add_metadata.jl index 3eb3bad89..27f3585ce 100644 --- a/build/create_binaries/add_metadata.jl +++ b/build/create_binaries/add_metadata.jl @@ -24,7 +24,7 @@ function add_metadata(project_dir, license_file, output_dir, git_repo) ) # the Manifest.toml always gives the exact version of Ribasim that was built cp( - normpath(project_dir, "Manifest.toml"), + normpath(git_repo, "Manifest.toml"), normpath(output_dir, "share/julia/Manifest.toml"); force = true, ) @@ -35,7 +35,7 @@ function add_metadata(project_dir, license_file, output_dir, git_repo) open(normpath(output_dir, "README.md"), "a") do io # since the exact Ribasim version may be hard to find in the Manifest.toml file # we can also extract that information, and add it to the README.md - manifest = TOML.parsefile(normpath(project_dir, "Manifest.toml")) + manifest = TOML.parsefile(normpath(git_repo, "Manifest.toml")) if !haskey(manifest, "manifest_format") error("Manifest.toml is in the old format, run Pkg.upgrade_manifest()") end