I have 1748 versions in Google Apps Script including the current version. I am trying to get down to below 200 to get below the 200 maximum coming in June. When I go to Manage Deployments, I see a bunch of versions in Active (versions I don't use anymore) and a bunch of versions in Archived (2 of which I use). I also use the current version.
What am I doing wrong and how to delete more? I'm also considering starting the project over by copying/pasting the current version, but it would be nice to also keep the other 2 versions that I use easily available.
I tried deleting some versions but only 4 of the 1700+ were able to be deleted. I was expecting to be able to delete more versions
According to a recent release note, now there is an option to multiple unused versions at once.
(Generally Available): You can now delete multiple unused versions at the same time from the Project History page. Refer to Delete multiple versions.
From link included in the mentioned release note:
Delete multiple versions at once
To delete multiple versions at the same time, take the following steps:
- In your script project, click history Project History.
- Click Bulk delete versions. A dialog shows a list of versions that you can delete. Versions in use by an active deployment aren't included in the list.
- Select the versions to delete and click Delete. In the dialog, click Delete.
Another option is to use the Apps Script API. There is a command line app to use this API, the name is CLASP.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With