I've been given a nodejs API server project that was deployed to gcloud, but I have no idea what "version" is deployed there. That is to say I need to determine if a specific git branch has been deployed to a specific environment.
The version in package.json
was not regularly updated.
I tried this:
$ gcloud app versions describe 20220324t175829 --service default --project myproject
I got the version by listing the versions on gcloud and using the last deployed. I see hashes for each file deployed, but those aren't git commit hashes as far as I can tell.
Is there a way to determine this?