From 1e70d0996b8c5a00189c69d46ffb585d7f95ec7a Mon Sep 17 00:00:00 2001 From: Di Wu Date: Mon, 3 Jun 2024 23:49:33 +0000 Subject: [PATCH] fix(ci): update unstable release file path in CI scripts (#3737) --- fastlane/Fastfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index d8e9410469..8906cbec32 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -46,7 +46,8 @@ platform :ios do desc "Increment versions" private_lane :increment_versions do |options| version = options[:version].to_s - set_key_value(file: "AmplifyPlugins/Core/AWSPluginsCore/ServiceConfiguration/AmplifyAWSServiceConfiguration.swift", key: "amplifyVersion", value: version) + configuration_file_path = "AmplifyPlugins/Core/AmplifyCredentials/AmplifyAWSServiceConfiguration.swift" + set_key_value(file: configuration_file_path, key: "amplifyVersion", value: version) end desc "Commit and push" @@ -77,7 +78,7 @@ platform :ios do version = options[:version].to_s changelog = options[:changelog] tag = "#{version}" - + sh('bundle', 'exec', 'swift', 'package', 'update') write_changelog(changelog: changelog, path: 'CHANGELOG.md')