Google Apps脚本网络应用程序会自动链接到最新的代码? [英] Google Apps script web app automatically linked to latest code?
问题描述
我创建了Google Apps脚本,并使用发布>部署Web应用程序
,并使用 script.google.com/macros/s/ ##### / exec?run = ok
。
每次我在代码中进行小小的修改时,都需要重做 发布>部署Web应用程序
并将项目版本
更改为新建
。
这有时非常烦人,因为每次小修改都需要重做这个。
有没有从 script.google.com/macros/s/ ##### / exec?run = ok
自动调用脚本的方法链接到最新版本的代码?
是的,您可以通过将'/ dev '而不是'/ exec'
I created a Google Apps script, I've deployed it with Publish > Deploy web app
and I'm running it with script.google.com/macros/s/#####/exec?run=ok
.
Each time I do a small modification in the code, I need to redo Publish > Deploy web app
and change Project version
to New
.
This is sometimes very annoying because for each small modification, you need to redo this.
Is there a way to make that calling the script from script.google.com/macros/s/#####/exec?run=ok
automatically links to the latest version of the code?
Yes, you can test the app for the latest code by putting '/dev' in the URL instead of '/exec' https://developers.google.com/apps-script/guides/web
Click on 'Test web app for your latest code' to grab the link
这篇关于Google Apps脚本网络应用程序会自动链接到最新的代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!