We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f130d9b commit 50c4e67Copy full SHA for 50c4e67
doc/make.jl
@@ -221,7 +221,10 @@ struct BuildBotConfig <: Documenter.DeployConfig end
221
function Documenter.deploy_folder(::BuildBotConfig; devurl, kwargs...)
222
haskey(ENV, "DOCUMENTER_KEY") || return nothing
223
if Base.GIT_VERSION_INFO.tagged_commit
224
- return "v$(Base.VERSION)"
+ # Strip extra pre-release info (1.5.0-rc2.0 -> 1.5.0-rc2)
225
+ ver = VersionNumber(VERSION.major, VERSION.minor, VERSION.patch,
226
+ isempty(VERSION.prerelease) ? () : (VERSION.prerelease[1],))
227
+ return "v$(ver)"
228
elseif Base.GIT_VERSION_INFO.branch == "master"
229
return devurl
230
end
0 commit comments