Skip to content

Commit

Permalink
[AutoBuild] Update environment variable to get HEAD of Yggdrasil (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano authored Jan 17, 2023
1 parent 852ec87 commit 0dea451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AutoBuild.jl
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,8 @@ function _package_is_registered(registry_url::AbstractString,
end

is_yggdrasil() = get(ENV, "YGGDRASIL", "false") == "true"
# Use an Azure Pipelines environment variable to get the current commit hash
yggdrasil_head() = get(ENV, "BUILD_SOURCEVERSION", "")
# Use a Buildkite environment variable to get the current commit hash
yggdrasil_head() = get(ENV, "BUILDKITE_COMMIT", "")

function register_jll(name, build_version, dependencies, julia_compat;
deploy_repo="JuliaBinaryWrappers/$(name)_jll.jl",
Expand Down

0 comments on commit 0dea451

Please sign in to comment.