Skip to main content

Configuration File (upgrade.yml)

The configuration file is where you define the overall structure of your upgrade process.

PropertyTypeDescription
envobjectAllows you to define variables that can be used throughout the configuration. These variables can hold values that you want to reuse in different parts of your tasks. Variables defined in env can be referenced using the $[var_name] convention.
importsarray of stringsRelative paths of files and folders which will be imported during upgrade.
stepsarray of objectsThis is where you define individual integration tasks and their properties. Each task should have a task field that specifies the type of task to perform.

Example:

env:
some-variable: value
steps:
- task: app_delegate
label: "Appending some code"
actions:
- prepend: "#import <SomeFile.h>"
- block: "didFinishLaunchingWithOptions"
prepend: "[SomeClass configure];"

All possible task types are explained in Guides