Skip to content

Commit

Permalink
Repo specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrimmer authored May 28, 2021
1 parent effb214 commit 715cb03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/generate_artifacts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Pkg.Artifacts
using Downloads

function generate_artifacts(ver="latest")
function generate_artifacts(ver="latest",repo="https://github.com/JuliaPlots/PlotlyJS.jl")
artifacts_toml = joinpath(dirname(@__DIR__), "Artifacts.toml")

# if Artifacts.toml does not exist we also do not have to remove it
Expand All @@ -19,6 +19,6 @@ function generate_artifacts(ver="latest")
tarball_hash = archive_artifact(plotlyartifacts_hash, "plotly-artifacts-$ver.tar.gz")

bind_artifact!(artifacts_toml, "plotly-artifacts", plotlyartifacts_hash; download_info = [
("https://github.com/jonas-kr/PlotlyJS.jl/releases/download/plotly-artifacts-$ver/plotly-artifacts-$ver.tar.gz", tarball_hash)
("$repo/releases/download/plotly-artifacts-$ver/plotly-artifacts-$ver.tar.gz", tarball_hash)
])
end

0 comments on commit 715cb03

Please sign in to comment.