mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +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 {
|
||||
onlyIf {
|
||||
System.env.'TRAVIS_BRANCH' == "master"
|
||||
System.env.'TRAVIS_BRANCH' == "master" && !System.env.'TRAVIS_PULL_REQUEST'.toBoolean()
|
||||
}
|
||||
dependsOn assemble
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user