Skip to content

Commit 791bc90

Browse files
authored
Merge pull request #938 from JuliaLang/dpa/banner-slash
Check the Julia release banner with and without the slash
2 parents 8e57908 + 1f17b3d commit 791bc90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/PackageCompiler.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,9 @@ end
740740
# App #
741741
#######
742742

743-
const IS_OFFICIAL = Base.TAGGED_RELEASE_BANNER == "Official https://julialang.org/ release"
743+
# Previously there was a slash.
744+
# The slash was removed in https://github.com/JuliaLang/julia/pull/53978
745+
const IS_OFFICIAL = Base.TAGGED_RELEASE_BANNER in ("Official https://julialang.org/ release", "Official https://julialang.org release")
744746
function warn_official()
745747
if !IS_OFFICIAL
746748
@warn "PackageCompiler: This does not look like an official Julia build, functionality may suffer." _module=nothing _file=nothing

0 commit comments

Comments
 (0)