A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/apps-script/guides/versions below:

Versions | Apps Script | Google for Developers

Skip to main content Versions

Stay organized with collections Save and categorize content based on your preferences.

A version is a static copy of a script. Versions let you track your changes. Once you save a version, you can't modify it. Use versions when you're working on a script that goes through many changes and iterations. Script projects can have up to 200 versions.

Creating versions is required when you're writing a library. For more information, see Libraries.

Create a version

A version is automatically created when you create a new deployment. You can also create a new version from an existing deployment by taking the following steps:

  1. Open your script project.
  2. At the top, click Deploy > Manage deployments.
  3. Select the active deployment to create a new version for and click Edit edit.
  4. In the Version section, select New version.
  5. Click Deploy.
View a previous version

To view a previously created version within your script project, take the following steps:

  1. In your script project, click history Project History.
  2. Under Project history, select the version you want to view. To view the description of a version, hold the pointer over the version number.
Compare a previous version to the current version

To compare a previously created version to the current, or head, version, take the following steps:

  1. In your script project, click history Project History.
  2. Under Project history, select the version you want to view.
  3. Turn on Highlight changes.

Depending on the changes you've made since the selected version, the files list might contain the following markers:

Marker Type of change Description

File added

This file is new in the current version.

File deleted

This file is no longer present in the current version.

File modified

This file has changes in the current version that weren't present in the selected version. To view the changes, click the file name. Restore a version
  1. In your script project, click history Project History.
  2. Next to the version you want to restore, click more_vert More actions > Restore this version > Restore.
Delete versions

You can permanently delete versions if they're not in use by an active deployment. To archive a deployment or change the version that an active deployment uses, refer to Create and manage deployments.

Delete a version

To delete one version at a time, take the following steps:

  1. In your script project, click history Project History.
  2. Next to the version you want to delete, click more_vert More actions > Delete this version > Delete.
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.
  4. In the dialog, click Delete.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-04 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-04 UTC."],[[["Versions in Apps Script are static copies of your script, allowing you to track changes and revert to previous states if necessary."],["Creating versions is essential for libraries and projects undergoing frequent modifications, providing a history of your script's development."],["You can easily create, view, compare, and delete versions within your Apps Script project using the provided steps."],["A maximum of 200 versions can be stored per script project, offering ample space for tracking your progress."],["Versions in use by active deployments cannot be deleted, ensuring that your deployed scripts remain functional."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4