Skip to content

Commit

Permalink
Merge pull request TuringLang#1073 from TuringLang/cpfiffer-patch-1
Browse files Browse the repository at this point in the history
Fix typo in docs build script
  • Loading branch information
cpfiffer authored Jan 15, 2020
2 parents 7c28c9f + 8cac2e3 commit 3247b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ in("no-tutorials", ARGS) || copy_tutorial(tutorial_path)

version_rx = r"v\d.\d.\d"
baseurl = "/dev"
ghref = replace(get(ENV, "GITHUB_REF", ""), "refs/tags" => "")
ghref = replace(get(ENV, "GITHUB_REF", ""), "/refs/tags" => "")
if get(ENV, "TRAVIS_TAG", "") != ""
baseurl = "/" * ENV["TRAVIS_TAG"]
elseif !isnothing(match(version_rx, ghref))
Expand Down

0 comments on commit 3247b36

Please sign in to comment.