Skip to content

Commit

Permalink
fix(ci): update unstable release file path in CI scripts (#3737)
Browse files Browse the repository at this point in the history
  • Loading branch information
5d authored Jun 3, 2024
1 parent 108afe9 commit 1e70d09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 1e70d09

Please sign in to comment.