# General settings

## Version files

The file path(s) corresponding to your app's version files. Runway will bump the version in these files during manual or [automated version bumps](https://docs.runway.team/automations/types-of-automations#bump-version-number-in-code), and parses these files to determine your app's `Version in code` for the working branch and the release branch.&#x20;

{% hint style="info" %}
Version files are populated by default using platform-specific files where versions are commonly found, but you can always customize your app's version files to any files found in your repository.&#x20;
{% endhint %}

The default file types that Runway will detect versions in are as follows:

**iOS:**

* `.pbxproj`
* `.xcconfig`
* `.plist`
* `.json`
* `.yaml`

**Android**:

* `.gradle`
* `.json`
* `.yaml`

**React Native / OTA:**

* `package.json`

The table below describes the format (in regex) Runway is expecting to find the version in depending on the file type.

<table><thead><tr><th width="150">File type</th><th>Regular expression</th><th width="238">Description</th><th>Example</th></tr></thead><tbody><tr><td><strong>.pbxproj</strong></td><td><code>MARKETING_VERSION = (\d+\.\d+\.\d+)</code></td><td>Matches the string <code>MARKETING_VERSION =</code> (case sensitive) followed by one or more digits separated by a <code>.</code> character</td><td><code>MARKETING_VERSION = 12.2.2</code></td></tr><tr><td><strong>.xcconfig</strong></td><td><code>MARKETING_VERSION = (\d+\.\d+\.\d+)</code> </td><td>Matches the string <code>MARKETING_VERSION =</code> (case sensitive) followed by one or more digits separated by a <code>.</code> character</td><td><code>MARKETING_VERSION = 12.2.2</code></td></tr><tr><td><strong>.plist</strong></td><td><code>CFBundleShortVersionString&#x3C;\/key>\s*&#x3C;string>(\d+\.\d+\.\d+)&#x3C;\/string></code></td><td>Matches the <code>CFBundleShortVersionString&#x3C;/key></code> string (case sensitive) followed by zero or more white space characters (spaces, tabs, line breaks), followed by the <code>&#x3C;string></code> string, followed by one or more digits separated by a <code>.</code> character, followed by the <code>&#x3C;/string></code> string</td><td><code>CFBundleShortVersionString&#x3C;/key>&#x3C;string>2.2.2&#x3C;/string></code></td></tr><tr><td><strong>.yaml</strong></td><td><code>version:\s+?(\d+\.\d+\.\d+)</code></td><td>Matches the <code>version:</code> string, followed by one or more white space characters (spaces, tabs, line breaks), followed by one or more digits separated by a <code>.</code> character</td><td><code>version: 12.2.2</code></td></tr><tr><td><strong>.gradle</strong></td><td><code>versionName.*?(\d+\.\d+\.\d+)|versionString.*?(\d+\.\d+\.\d+)</code></td><td>Matches the <code>versionName</code> string, followed by zero or more of any character (except line breaks), followed by one or more digits separated by a <code>.</code> character OR the string <code>versionString</code>, followed by zero or more of any character (except line breaks), followed by one or more digits separated by a <code>.</code> character</td><td><code>versionName 12.2.2</code></td></tr><tr><td><strong>.json</strong></td><td><p></p><p><code>\"version\":\s+?\"(\d+\.\d+\.\d+)\"</code></p></td><td>Matches the <code>"version":</code> string (case sensitive), followed by one or more white space characters (spaces, tabs, line breaks), followed by the one or more digits separated by a <code>.</code> character wrapped in quotation marks</td><td><code>"version": "12.2.2"</code></td></tr><tr><td><strong>Default (all other file types)</strong></td><td><code>(\d+\.\d+\.\d+)</code></td><td>Matches one or more digits separated by a <code>.</code> character</td><td> <code>12.2.2</code></td></tr></tbody></table>

## Localization directories

Specify the directory/paths that contain your app's localization files. Localization directories are relevant for teams using the [Translations release step](https://docs.runway.team/using-runway/release-steps/translations) to track the status of their localizable strings.

## Fixes settings

Configure settings for work item **Fixes** found on the Feature Readiness step.

<figure><img src="https://727226624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjFmyReUsbJqDjHEAlW%2Fuploads%2FWiHqGrHFCeEoV7th7ZdM%2Fimage.png?alt=media&#x26;token=f48104e4-5ef4-49a1-b496-d8fe4d717c06" alt=""><figcaption></figcaption></figure>

* **Create fixes for open PRs against the release branch:** Runway will automatically create a Fix for any PRs that are opened against the release branch.
* **Fix approvals:**  If enabled, work items designated as fixes will surface an approval status. Team members with sufficient privileges can approve or reject fix requests. Approvals can be performed on the Feature readiness release step.

{% hint style="info" %}
Runway will only auto-merge cherry-pick PRs against open against the release branch if the fix has been approved in Runway. The following conditions must be true for this behavior to apply:

* The "Pull fixes into the release" [automation](https://docs.runway.team/automations/types-of-automations#pull-cherry-pick-fixes-into-the-release) and **Fix approvals** is enabled

* The "Merge pull requests created by Runway" [automation](https://docs.runway.team/automations/types-of-automations#merge-pull-requests-opened-by-runway) is enabled

* "Fix approvals" are enabled
  {% endhint %}

* **Add pull request GitHub status check for fix request approvals**: Runway will include a status check on any pull requests created for fixes going into the release branch. The status check will only pass when the fix request associated with the PR has been approved.

<figure><img src="https://727226624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjFmyReUsbJqDjHEAlW%2Fuploads%2FKtwH9ieB5w587SS7a0Qi%2Fimage.png?alt=media&#x26;token=1ca437c5-30c3-4358-bddc-ff8a6b97b6d1" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://727226624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjFmyReUsbJqDjHEAlW%2Fuploads%2FPbTzT8TkKREjRvhEprBB%2Ffix-approval-status-check.png?alt=media&#x26;token=c222077e-6492-40fe-a757-f8532b74d284" alt=""><figcaption></figcaption></figure>

* **Thread related fix notifications**: Notifications relevant to a given Fix will be threaded in Slack.
