[PM-16533] Rename files to indicate they belong to Password Manager (#1231)

This commit is contained in:
Katherine Bertelsen 2025-01-14 10:04:39 -06:00 committed by GitHub
parent 75f527b1ca
commit bcaab3f914
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 14 additions and 13 deletions

View File

@ -355,8 +355,8 @@ jobs:
- name: Update build version and number
run: |
yq -i '.settings.MARKETING_VERSION = "${{ steps.version_info.outputs.version_name }}"' 'project.yml'
yq -i '.settings.CURRENT_PROJECT_VERSION = "${{ steps.version_info.outputs.version_number }}"' 'project.yml'
yq -i '.settings.MARKETING_VERSION = "${{ steps.version_info.outputs.version_name }}"' 'project-pm.yml'
yq -i '.settings.CURRENT_PROJECT_VERSION = "${{ steps.version_info.outputs.version_number }}"' 'project-pm.yml'
- name: Update CI build info
run: |

View File

@ -41,7 +41,7 @@ jobs:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
with:
config: crowdin.yml
config: crowdin-pm.yml
upload_sources: false
upload_translations: false
download_translations: true

View File

@ -34,6 +34,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
with:
config: crowdin.yml
config: crowdin-pm.yml
upload_sources: true
upload_translations: false

View File

@ -140,4 +140,4 @@ This project's structure is split into separate sections to support sharing as m
### GlobalTestHelpers
`GlobalTestHelpers` is a directory that contains helper files used in all test targets. This directory is included in each target that is defined in the `project.yml` file.
`GlobalTestHelpers` is a directory that contains helper files used in all test targets. This directory is included in each target that is defined in the `project-pm.yml` file.

View File

@ -4,13 +4,14 @@ set -euo pipefail
mint bootstrap
mint run xcodegen xcodegen
# Handle script being called from repo root or Scripts folder
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
repo_root=$(dirname "$script_dir")
mint run xcodegen --spec "$repo_root/project-pm.yml"
echo "✅ Bootstrapped!"
# Check Xcode version matches .xcode-version
# handle script being called from repo root or Scripts folder
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
repo_root=$(dirname "$script_dir")
xcode_version_file="$repo_root/.xcode-version"
if [ ! -f "$xcode_version_file" ]; then

View File

@ -11,5 +11,5 @@ if [ "$CONFIGURATION" = "Debug" ]; then
fi
mint run LicensePlist license-plist \
--config-path .license_plist.yml
--config-path .license-plist-pm.yml
fi

View File

@ -182,7 +182,7 @@ targets:
excludes:
- "**/*Tests.*"
- "**/TestHelpers/*"
- "**/swiftgen.yml"
- "**/swiftgen-pm.yml"
- "**/GoogleService-Info.*.plist"
- "**/__Snapshots__/*"
- path: Bitwarden
@ -194,7 +194,7 @@ targets:
buildPhase: resources
- path: README.md
buildPhase: none
- path: swiftgen.yml
- path: swiftgen-pm.yml
buildPhase: none
dependencies:
- target: AuthenticatorBridgeKit
@ -409,7 +409,7 @@ targets:
if [[ ! "$PATH" =~ "/opt/homebrew/bin" ]]; then
PATH="/opt/homebrew/bin:$PATH"
fi
mint run swiftgen config run --config "swiftgen.yml"
mint run swiftgen config run --config "swiftgen-pm.yml"
basedOnDependencyAnalysis: false
outputFiles:
- $(SRCROOT)/BitwardenShared/UI/Platform/Application/Support/Generated/Assets.swift