mirror of
https://github.com/google/nomulus
synced 2026-01-03 11:45:39 +00:00
Only allow commandine deployment to alpha
This commit is contained in:
@@ -74,6 +74,9 @@ ext.projectRootDir = "${rootDir}"
|
||||
task deploy {
|
||||
group = 'deployment'
|
||||
description = 'Deploys all services to App Engine.'
|
||||
if (rootProject.findProperty("environment") != 'alpha') {
|
||||
throw new GradleException("Can only deploy to alpha.");
|
||||
}
|
||||
}
|
||||
|
||||
task stage {
|
||||
|
||||
Reference in New Issue
Block a user