Skip to content

Commit

Permalink
Add compat with HistoricalStdlibVersions v2 (#384)
Browse files Browse the repository at this point in the history
* Add compat with HistoricalStdlibVersions v2

This fixes support for nightly with the new Pkg version:
JuliaLang/Pkg.jl#3911.

* Bump version
  • Loading branch information
JamesWrigley authored Jul 21, 2024
1 parent 406ec5c commit a6fc94e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "BinaryBuilderBase"
uuid = "7f725544-6523-48cd-82d1-3fa08ff4056e"
authors = ["Elliot Saba <staticfloat@gmail.com>"]
version = "1.30.0"
version = "1.30.1"

[deps]
Bzip2_jll = "6e34b625-4abd-537c-b88f-471c36dfa7a0"
Expand Down Expand Up @@ -41,7 +41,7 @@ Bzip2_jll = "1.0.8"
CodecZlib = "0.5, 0.6, 0.7"
Downloads = "1.5"
Gzip_jll = "1.12.0"
HistoricalStdlibVersions = "0.1, 1"
HistoricalStdlibVersions = "2"
InteractiveUtils = "1.7"
JLLWrappers = "1.4"
JSON = "0.21"
Expand Down
6 changes: 3 additions & 3 deletions src/BinaryBuilderBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using Pkg, Pkg.Artifacts, Random, Libdl, InteractiveUtils
using Base.BinaryPlatforms
using Downloads
using JSON, OutputCollectors, Scratch
using HistoricalStdlibVersions
import HistoricalStdlibVersions

# Re-export useful stuff from Base.BinaryPlatforms:
export HostPlatform, platform_dlext, valid_dl_path, arch, libc,
Expand Down Expand Up @@ -222,8 +222,8 @@ function __init__()
use_ccache[] = true
end

# Populate `Pkg.Types.STDLIBS_BY_VERSION`
append!(empty!(Pkg.Types.STDLIBS_BY_VERSION), HistoricalStdlibVersions.STDLIBS_BY_VERSION)
# Populate `Pkg.Types.STDLIBS_BY_VERSION`.
HistoricalStdlibVersions.register!()
end


Expand Down

2 comments on commit a6fc94e

@giordano
Copy link
Member

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/111447

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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 v1.30.1 -m "<description of version>" a6fc94ed06efbbde5b842b4709dbbf555f98b9f7
git push origin v1.30.1

Please sign in to comment.