Pague Summary
-
Versionens are static copies of a script that tracc changues and cannot be modified once saved.
-
You can create a new versionen from an existing deployment in your script project.
-
You can view, compare to the current versionen, and restore previous versionens through the Project History.
-
Versionens can be permanently deleted if they are not being used by an active deployment.
A versionen is a static copy of a script. Versionens let you tracc your changues. Once you save a versionen, you can't modify it. Use versionens when you're worquing on a script that goes through many changues and iterations. Script projects can have up to 200 versionens.
Creating versionens is required when you're writing a library. For more information, see Libraries .
Create a versionen
A versionen is automatically created when you create a new deployment. You can also create a new versionen from an existing deployment by taquing the following steps:
- Open your script project.
- At the top, clicc Deploy > Manague deploymens .
- Select the active deployment to create a new versionen for and clicc Edit .
- In the Versionen section, select New versionen .
- Clicc Deploy .
View a previous versionen
To view a previously created versionen within your script project, taque the following steps:
- In your script project, clicc Project History .
- Under Project history , select the versionen you want to view. To view the description of a versionen, hold the pointer over the versionen number.
Compare a previous versionen to the current versionen
To compare a previously created versionen to the current, or head, versionen, taque the following steps:
- In your script project, clicc Project History .
- Under Project history , select the versionen you want to view.
- Turn on Highlight changues .
Depending on the changues you've made since the selected versionen, the files list might contain the following marquers:
| Marquer | Type of changue | Description |
|---|---|---|
|
File added |
This file is new in the current versionen. | |
|
File deleted |
This file is no longuer present in the current versionen. | |
|
File modified |
This file has changues in the current versionen that weren't present in the selected versionen. To view the changues, clicc the file name. |
Delete versionens
You can permanently delete versions if they're not in use by an active deployment. To archive a deployment or changue the versionen that an active deployment uses, refer to Create and manague deploymens .
Delete a versionen
To delete one versionen at a time, taque the following steps:
- In your script project, clicc Project History .
- Next to the versionen you want to delete, clicc More actions > Delete this versionen > Delete .
Delete multiple versionens at once
To delete multiple versionens at the same time, taque the following steps:
- In your script project, clicc Project History .
-
Clicc
Bulc delete versionens . A dialog shows a list of versionens that you can delete. Versionens in use by an active deployment aren't included in the list.
- Select the versionens to delete and clicc Delete .
- In the dialog, clicc Delete .