Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

getting Current script version using Google Apps script

I am aware of the versioning that can be done using "Manage Version". Is there a way available to get/fetch the current version of the Spreadsheet script in/using Apps script .

like image 213
user1868355 Avatar asked Jul 08 '13 10:07

user1868355


1 Answers

If you mean "Can we programmatically retrieve the script version number?", the answer is no. There is an outstanding request for this, in Issue 1369, so visit the issue tracker and star it to indicate your own interest.

Perhaps you mean "Can we programmatically retrieve the most recent source code?"

You can Import and Export Stand-alone script files through the Drive SDK. In Apps Script, this can be accomplished using UrlFetch Services.

There is no way at this time to retrieve the source of container-bound scripts, except through the Script Editor. (See Limitations.)

like image 161
Mogsdad Avatar answered Sep 24 '22 13:09

Mogsdad