Add a bit of output to docpublish
This commit is contained in:
parent
988b9e1f11
commit
4d14f624b4
1 changed files with 2 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ when isMainModule:
|
||||||
quit(1)
|
quit(1)
|
||||||
|
|
||||||
if getEnv("TRAVIS_PULL_REQUEST").len > 0:
|
if getEnv("TRAVIS_PULL_REQUEST").len > 0:
|
||||||
|
echo "This is a PR build. Skipping."
|
||||||
quit(0)
|
quit(0)
|
||||||
|
|
||||||
let repoSlug = getEnvOrQuit("TRAVIS_REPO_SLUG")
|
let repoSlug = getEnvOrQuit("TRAVIS_REPO_SLUG")
|
||||||
|
|
@ -85,6 +86,7 @@ when isMainModule:
|
||||||
let gitHubToken = getEnvOrQuit("GITHUB_TOKEN")
|
let gitHubToken = getEnvOrQuit("GITHUB_TOKEN")
|
||||||
|
|
||||||
if branch != "master" and not (tag =~ peg"^ 'v' \d+ '.' \d+ '.' \d+ $"):
|
if branch != "master" and not (tag =~ peg"^ 'v' \d+ '.' \d+ '.' \d+ $"):
|
||||||
|
echo "This is not master or tagged changeset. Skipping."
|
||||||
quit(0)
|
quit(0)
|
||||||
|
|
||||||
let godotBin = getEnvOrQuit("GODOT_BIN")
|
let godotBin = getEnvOrQuit("GODOT_BIN")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue