mirror of
https://github.com/google/nomulus
synced 2026-01-07 05:56:49 +00:00
Fix deploying to alpha from workstation (#198)
appengineDeployAll requires appengine.deploy.version to be set otherwiese the deployment would fail.
This commit is contained in:
@@ -75,6 +75,12 @@ if (project.path == ":services:default") {
|
||||
|
||||
appengine {
|
||||
deploy {
|
||||
// appengineDeployAll task requires the version to be set. So,
|
||||
// this config lets gcloud select a version name when deploying
|
||||
// to alpha from our workstation.
|
||||
if (environment != 'production' && environment != 'sandbox') {
|
||||
version = 'GCLOUD_CONFIG'
|
||||
}
|
||||
projectId = gcpProject
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user