Skip to content

Commit 7072a3a

Browse files
committed
✨[feat]: fastfile 변경
1 parent da08a88 commit 7072a3a

File tree

1 file changed

+35
-13
lines changed

1 file changed

+35
-13
lines changed

MarketApp/fastlane/Fastfile

Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,26 @@
88
# For a list of all available plugins, check out
99
#
1010
# https://docs.fastlane.tools/plugins/available-plugins
11-
#
11+
12+
#import "Fastfiles/ReleaseFastfile.rb"
13+
#import "Fastfiles/SandboxFastfile.rb"
14+
#import "Fastfiles/AppDistributionFastfile.rb"
15+
#import "Fastfiles/LicenseFastfile.rb
16+
17+
#require 'fastlane/plugin/spaceship'
1218

1319
# Uncomment the line if you want fastlane to automatically update itself
14-
update_fastlane
20+
# update_fastlane
21+
require 'spaceship'
22+
Spaceship::ConnectAPI::App.const_set('ESSENTIAL_INCLUDES', 'appStoreVersions')
1523
ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = "600"
16-
default_platform(:ios)
1724

25+
default_platform(:ios)
1826
platform :ios do
27+
28+
29+
30+
1931
desc "Runs `pod install`"
2032
puts "Runs `pod install`"
2133
lane :pod_install do
@@ -219,7 +231,10 @@ error do |lane, exception, options|
219231
# fastlane release version:"2.1.0"
220232
# 과 같이 사용할 수 있다.
221233
if options[:version]
222-
#enable_automatic_code_signing
234+
version = options[:version]
235+
236+
237+
223238
increment_version_number(version_number: options[:version])
224239
version = get_version_number(
225240
xcodeproj: "MarketApp.xcodeproj",
@@ -228,15 +243,17 @@ error do |lane, exception, options|
228243
build = get_build_number
229244
get_certificates
230245
get_provisioning_profile
231-
build_ipa
246+
build_ipa
232247
unit_Test
233248
upload_to_app_store(
234249
username: "[email protected]",
235-
team_id: "N94CS4N6VR",
250+
team_id: "N94CS4N6R",
251+
#release_notes: "버그 수정 .",
252+
ipa:"./output/MarketApp.ipa",
236253
api_key_path: "fastlane/apikey.json",
237-
skip_metadata: true,
238-
#metadata_path: "./metadata",
239-
skip_screenshots: true,
254+
skip_metadata: false,
255+
metadata_path: "./metadata",
256+
#skip_screenshots: false,
240257
force: true,
241258
submit_for_review: true,
242259
automatic_release: true,
@@ -245,9 +262,15 @@ error do |lane, exception, options|
245262
add_id_info_uses_idfa: false,
246263
export_compliance_encryption_updated: false,
247264
export_compliance_uses_encryption: false,
248-
content_rights_contains_third_party_content: false}
265+
content_rights_contains_third_party_content: false
266+
},
267+
# app_version: version,
268+
# build_number: build,
269+
# whats_new: "Update for version #{version}"
249270
)
250271

272+
273+
end
251274
#성공했을때 슬랙 메세지
252275
slack(
253276
message: "배포 성공",
@@ -265,8 +288,7 @@ error do |lane, exception, options|
265288
success: false,
266289
slack_url: ENV["SLACK_URL_UPLOAD"]
267290
)
291+
end
268292
end
269293
# ✅ if 문을 종료하기 위한 end
270-
end
271-
end
272-
end
294+
end

0 commit comments

Comments
 (0)