mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 03:57:51 +02: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:
parent
2467c07d07
commit
32677ef056
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue