npr
npr

Reputation: 4775

How to name Google App Engine deploys

Currently each gcloud app deploy gets a unique ID.

Is there a way to provide an alias while deploying? It would help recognise the build in a more readable way in the Google console.

Upvotes: 2

Views: 47

Answers (1)

LundinCast
LundinCast

Reputation: 9810

By default, the gcloud app deploy command generates a version name based on the current timestamp. You can set a version name for your service when deploying it by using the --version (or -v) flag like this:

gcloud app deploy version=version_name

Upvotes: 1

Related Questions