diff --git a/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Background.png b/Components/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Background.png similarity index 100% rename from Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Background.png rename to Components/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Background.png diff --git a/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Banner.svg b/Components/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Banner.svg similarity index 100% rename from Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Banner.svg rename to Components/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Banner.svg diff --git a/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Shapes.svg b/Components/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Shapes.svg similarity index 100% rename from Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Shapes.svg rename to Components/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Shapes.svg diff --git a/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Surface.svg b/Components/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Surface.svg similarity index 100% rename from Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Surface.svg rename to Components/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Surface.svg diff --git a/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Version.png b/Components/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Version.png similarity index 100% rename from Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Version.png rename to Components/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Version.png diff --git a/Variants/Nightly/Resources/NightlyAppIcon.icon/icon.json b/Components/Variants/Nightly/Resources/NightlyAppIcon.icon/icon.json similarity index 100% rename from Variants/Nightly/Resources/NightlyAppIcon.icon/icon.json rename to Components/Variants/Nightly/Resources/NightlyAppIcon.icon/icon.json diff --git a/Variants/Nightly/nightly.yml b/Components/Variants/Nightly/nightly.yml similarity index 100% rename from Variants/Nightly/nightly.yml rename to Components/Variants/Nightly/nightly.yml diff --git a/Tools/Sources/Commands/CI/ConfigureNightly.swift b/Tools/Sources/Commands/CI/ConfigureNightly.swift index 5fcf936c4..42f7d658c 100644 --- a/Tools/Sources/Commands/CI/ConfigureNightly.swift +++ b/Tools/Sources/Commands/CI/ConfigureNightly.swift @@ -31,8 +31,8 @@ struct ConfigureNightly: AsyncParsableCommand { } // Check if the nightly variant is already included - if projectConfig["include"]?.sequence?.contains(where: { $0.mapping?["path"] == "Variants/Nightly/nightly.yml" }) == false { - projectConfig["include"]?.sequence?.append(["path": "Variants/Nightly/nightly.yml"]) + if projectConfig["include"]?.sequence?.contains(where: { $0.mapping?["path"] == "Components/Variants/Nightly/nightly.yml" }) == false { + projectConfig["include"]?.sequence?.append(["path": "Components/Variants/Nightly/nightly.yml"]) } let updatedYAMLString = try Yams.serialize(node: projectConfig) @@ -41,7 +41,7 @@ struct ConfigureNightly: AsyncParsableCommand { /// Generates the app icon banner with version and build number. private func generateAppIconBanner(buildNumber: String) async throws { - let iconPath = "Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Version.png" + let iconPath = "Components/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Version.png" try await AppIconBanner.parse([iconPath, "--build-number", buildNumber]).run() } }