|
7536 | 7536 | 5A271ABC2860B0D700471CE4 /* WebServerUtil.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebServerUtil.swift; sourceTree = "<group>"; };
|
7537 | 7537 | 5A2918CA2B522338002B197E /* GeneralBrowserAction.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeneralBrowserAction.swift; sourceTree = "<group>"; };
|
7538 | 7538 | 5A2918CC2B522381002B197E /* ToastType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ToastType.swift; sourceTree = "<group>"; };
|
| 7539 | + 5A2D1A4D2D84BD210066F7C9 /* version.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = version.xcconfig; sourceTree = "<group>"; }; |
7539 | 7540 | 5A31275728906422001F30FA /* BookmarksDelegateMock.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookmarksDelegateMock.swift; sourceTree = "<group>"; };
|
7540 | 7541 | 5A32C2B52AD8517200A9B5A4 /* MetricKitWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MetricKitWrapper.swift; sourceTree = "<group>"; };
|
7541 | 7542 | 5A3A2A0C287F742C00B79EAC /* BackgroundSyncUtility.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BackgroundSyncUtility.swift; sourceTree = "<group>"; };
|
|
14669 | 14670 | E60961841B62B7E100DD640F /* Configuration */ = {
|
14670 | 14671 | isa = PBXGroup;
|
14671 | 14672 | children = (
|
| 14673 | + 5A2D1A4D2D84BD210066F7C9 /* version.xcconfig */, |
14672 | 14674 | 8A2B1A5B28216C4C0061216B /* Common.xcconfig */,
|
14673 | 14675 | 8A2B1A5A28216C4C0061216B /* Debug.xcconfig */,
|
14674 | 14676 | E6DCC1ED1DCBB6AA00CEC4B7 /* Fennec.enterprise.xcconfig */,
|
|
15748 | 15750 | isa = PBXNativeTarget;
|
15749 | 15751 | buildConfigurationList = F84B21DD1A090F8100AAB793 /* Build configuration list for PBXNativeTarget "Client" */;
|
15750 | 15752 | buildPhases = (
|
| 15753 | + 5AFF989D2D821A27008A0B79 /* Update Version */, |
15751 | 15754 | C874A4E327F62C5B006F54E5 /* Swiftlint */,
|
15752 | 15755 | 5FA2232B27F6FA00005B3D87 /* Glean SDK Generator Script */,
|
15753 | 15756 | 5FA2232C27F6FA69005B3D87 /* Nimbus Feature Manifest Generator Script */,
|
|
16556 | 16559 | shellPath = /bin/sh;
|
16557 | 16560 | shellScript = "bash $PWD/bin/sdk_generator.sh -g Glean -o $SRCROOT/Storage/Generated\n";
|
16558 | 16561 | };
|
| 16562 | + 5AFF989D2D821A27008A0B79 /* Update Version */ = { |
| 16563 | + isa = PBXShellScriptBuildPhase; |
| 16564 | + alwaysOutOfDate = 1; |
| 16565 | + buildActionMask = 2147483647; |
| 16566 | + files = ( |
| 16567 | + ); |
| 16568 | + inputFileListPaths = ( |
| 16569 | + ); |
| 16570 | + inputPaths = ( |
| 16571 | + ); |
| 16572 | + name = "Update Version"; |
| 16573 | + outputFileListPaths = ( |
| 16574 | + ); |
| 16575 | + outputPaths = ( |
| 16576 | + ); |
| 16577 | + runOnlyForDeploymentPostprocessing = 0; |
| 16578 | + shellPath = /bin/sh; |
| 16579 | + shellScript = "#!/bin/sh\n\nVERSION_FILE=\"${SRCROOT}/../version.txt\"\nXCCONFIG_FILE=\"${SRCROOT}/Client/Configuration/version.xcconfig\"\n\n# Read version from file\nif [ -f \"$VERSION_FILE\" ]; then\n VERSION_NUMBER=$(cat \"$VERSION_FILE\" | tr -d '[:space:]')\nelse\n echo \"Error: version.txt not found!\"\n exit 1\nfi\n\n# Update the xcconfig file with the version number\necho \"APP_VERSION = $VERSION_NUMBER\" > \"$XCCONFIG_FILE\"\n\necho \"Updated Version.xcconfig with version: $VERSION_NUMBER\"\n"; |
| 16580 | + }; |
16559 | 16581 | 5FA2232B27F6FA00005B3D87 /* Glean SDK Generator Script */ = {
|
16560 | 16582 | isa = PBXShellScriptBuildPhase;
|
16561 | 16583 | buildActionMask = 2147483647;
|
|
0 commit comments