mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
Make sure not to publish if we are a pull request too...
This commit is contained in:
parent
ab83e852ff
commit
d62d0aa916
@ -244,7 +244,7 @@ publishing {
|
|||||||
|
|
||||||
artifactoryPublish {
|
artifactoryPublish {
|
||||||
onlyIf {
|
onlyIf {
|
||||||
System.env.'TRAVIS_BRANCH' == "master"
|
System.env.'TRAVIS_BRANCH' == "master" && !System.env.'TRAVIS_PULL_REQUEST'.toBoolean()
|
||||||
}
|
}
|
||||||
dependsOn assemble
|
dependsOn assemble
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user