diff --git a/Project.toml b/Project.toml index 83d877e..07616cc 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "ITensorPkgSkeleton" uuid = "3d388ab1-018a-49f4-ae50-18094d5f71ea" -version = "0.3.61" +version = "0.3.62" authors = ["ITensor developers and contributors"] [workspace] diff --git a/src/ITensorPkgSkeleton.jl b/src/ITensorPkgSkeleton.jl index 23a0c21..ab251b6 100644 --- a/src/ITensorPkgSkeleton.jl +++ b/src/ITensorPkgSkeleton.jl @@ -99,9 +99,10 @@ function format_downstreampkgs(user_replacements) pkgs = haskey(user_replacements, :downstreampkgs) ? user_replacements.downstreampkgs : [] if isempty(pkgs) - downstreampkgs = "" + downstreampkgs = " []" else - downstreampkgs = join([" \"$(pkg)\"" for pkg in pkgs], ",\n") + entries = join([" \"$(pkg)\"" for pkg in pkgs], ",\n") + downstreampkgs = " [\n$entries\n ]" end return merge(user_replacements, (; downstreampkgs)) end diff --git a/template/.github/workflows/IntegrationTest.yml.template b/template/.github/workflows/IntegrationTest.yml.template index fbefc81..6b2acf1 100644 --- a/template/.github/workflows/IntegrationTest.yml.template +++ b/template/.github/workflows/IntegrationTest.yml.template @@ -24,4 +24,5 @@ jobs: secrets: "inherit" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" - pkgs: |{DOWNSTREAMPKGS} + pkgs: | +{DOWNSTREAMPKGS}