How to use versioned deployments when programmatically creating triggers?
问题 When creating a trigger programmatically, i.e. through ScriptApp.newTrigger() , does it always point to the "head" deployment, or the most recent published (versioned) deployment? (See documentation on deployment types here.) For context, I'm distributing a script in a multi-user environment which relies on triggers to run every few minutes. I'm trying to ensure that changes made in development (i.e. before publishing those changes) are not picked up immediately by all the clients of the