Skip to content

Commit

Permalink
avoid GitHub api to avoid rate limits
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Jul 6, 2023
1 parent 06c6609 commit 689daa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PlotlyLight"
uuid = "ca7969ec-10b3-423e-8d99-40f33abb42bf"
authors = ["joshday <[email protected]>"]
version = "0.7.1"
version = "0.7.2"

[deps]
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
Expand Down
4 changes: 2 additions & 2 deletions src/PlotlyLight.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ end
get_semver(x) = VersionNumber(match(r"v(\d+)\.(\d+)\.(\d+)", x).match[2:end])

function latest_plotlyjs_version()
n = JSON3.read(download("https://api.github.com/repos/plotly/plotly.js/releases/latest")).name
VersionNumber(n)
file = download("https://github.com/plotly/plotly.js/releases/latest")
get_semver(read(file, String))
end

function download_plotly!(v::VersionNumber = latest_plotlyjs_version())
Expand Down

2 comments on commit 689daa0

@joshday
Copy link
Member Author

@joshday joshday commented on 689daa0 Jul 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/86960

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.2 -m "<description of version>" 689daa081100b59047441a13ba1cc06b00b6a240
git push origin v0.7.2

Please sign in to comment.