Skip to content
Snippets Groups Projects
Commit 1e99d8bb authored by anttil's avatar anttil
Browse files

SSDM-6643: Fix usage

parent 98843af3
No related branches found
No related tags found
No related merge requests found
...@@ -175,11 +175,11 @@ task "generateDescriptorFileForIvyApiV3" { ...@@ -175,11 +175,11 @@ task "generateDescriptorFileForIvyApiV3" {
task prepublish { task prepublish {
doLast { doLast {
if (publishRevision == "-1") { if (publishRevision == "-1") {
throw new GradleException("No publish revision defined. Run this task like: ./gradlew :clean :publish -PpublishRevision=S277 -PrepositoryRoot=/Users/juanf/git/openbis/ivy-repository") throw new GradleException("No publish revision defined. Run this task like: ./gradlew :clean :publishApiV3 -PpublishRevision=S277 -PrepositoryRoot=/Users/juanf/git/openbis/ivy-repository")
} }
if (repositoryRoot == "/non-existent") { if (repositoryRoot == "/non-existent") {
throw new GradleException("No repository root defined. Run this task like: ./gradlew :clean :publish -PpublishRevision=S277 -PrepositoryRoot=/Users/juanf/git/openbis/ivy-repository") throw new GradleException("No repository root defined. Run this task like: ./gradlew :clean :publishApiV3 -PpublishRevision=S277 -PrepositoryRoot=/Users/juanf/git/openbis/ivy-repository")
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment