cancel
Showing results for 
Search instead for 
Did you mean: 

publish a new version

kevinchenjun
Community Member

I have a new version of smart home action,  if I deploy the code to google cloud function,  does it override the running version?  I saw the log is showing for  current runtime version,  where can I check my new log?

2 Recommended AnswerS

Suc1
Solutions Expert
Solutions Expert

Yes, deploying new code to Google Cloud Functions will override the running version. Your new logs can be viewed in the Google Cloud Console under the "Logs Explorer" section - just select your function name and the latest deployment timestamp. You may need to wait a few minutes for logs to appear after deployment. The version transition should be seamless with no downtime.

View Recommended Answer in original post

Thank you Suc1,  how can I release a new version without overriding existing one?

View Recommended Answer in original post

4 REPLIES 4

Suc1
Solutions Expert
Solutions Expert

Yes, deploying new code to Google Cloud Functions will override the running version. Your new logs can be viewed in the Google Cloud Console under the "Logs Explorer" section - just select your function name and the latest deployment timestamp. You may need to wait a few minutes for logs to appear after deployment. The version transition should be seamless with no downtime.

Samsongood
Community Member

New update 

Thank you Suc1,  how can I release a new version without overriding existing one?

to be clear,  the alternative way to ask my question :  do I need to publish again if I want to make a change for existing production code