skip to Main Content

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

2

Answers


  1. 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:

    1. In your script project, click history Project History.
    2. 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.
    3. 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.

    Login or Signup to reply.
  2. As you want to delete active versiones, You should evaluate the implications having to incativate hundreds of versions compared to copy the versions that you want to keep to a new project, or start a new project from scratch.

    You might have to learn new things like how to use the Google Apps Script API and CLASP.

    Resources

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search