Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Commit

Permalink
Add performRelease call in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mstachniuk committed May 14, 2017
1 parent 874c47e commit 73261a3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion e2eTests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ task e2eTest {
deleteProjectDir(projectName)
gitClone(projectName, e2eProjects[projectName])
bumpProjectVersion(projectName)
//TODO c) performRelease -Preleasing.dryRun
performRelease(projectName)
}
}
}
Expand All @@ -35,6 +35,12 @@ def bumpProjectVersion(String projectName) {
}
}

def performRelease(String projectName) {
tasks.create("performRelease$projectName", Exec) {
workingDir "$projectDir/$projectName"
commandLine './gradlew', 'performRelease', '-Preleasing.dryRun'
}.execute()
}

task check {
dependsOn e2eTest
Expand Down

0 comments on commit 73261a3

Please sign in to comment.