-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to update an existing deployment to new version? #752
Comments
If you specify only the deploymentId, it automatically creates a new version for you, and updates (redeploys) the deployment. |
This would have helped me immensely. There seems to be a lot of confusion around redeployments, see google#63 and see the somewhat unrelated google#752 with lots of "unrelated" comments
This would have helped me immensely. There seems to be a lot of confusion around redeployments, see google#752 and see the somewhat unrelated google#63 with lots of "unrelated" comments
I'm having the same problem. I want to easily update an Apps Script deployed as a web app but with out changing the URL of the webapp. Currently I have to first run I'd prefer if there was a way to do this in one command with out me having to copy/paste Ids out of the command line. |
I wish this was a built in command. Updating the most recent deployment seems like it should be built in. Currently I'd have to do something like this hack to do it automatically: current_deployment=$(clasp deployments | tail -n1 | cut -d' ' -f2)
clasp deploy --deploymentId "${current_deployment}" |
Looks like there is no single command to do this..
But, I can do this by creating a new version first using "clasp version", then use "redeploy DID Version.." command.
But, because I want to automate the process, how can I get the version number created using the "clasp version" command to be included in the new "redeploy" command?
The text was updated successfully, but these errors were encountered: