Skip to content

Commit

Permalink
Update Fastfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Siwon-L committed Sep 20, 2024
1 parent 881dd2f commit 9abf747
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 32 deletions.
11 changes: 7 additions & 4 deletions Projects/App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ let project = Project(
disableBundleAccessors: true,
disableSynthesizedResourceAccessors: true
),
settings: .settings(
base: .init()
.marketingVersion("1.2.1")
.swiftVersion("5.7")
.currentProjectVersion("10")
.appleGenericVersioningSystem()
),
targets: [
Target(
name: "Moneymong",
Expand Down Expand Up @@ -55,10 +62,6 @@ let project = Project(
],
settings: .settings(
base: .init()
.appleGenericVersioningSystem()
.marketingVersion("1.2.1")
.swiftVersion("5.7")
.currentProjectVersion("2")
.cutomSetting()
),
launchArguments: [
Expand Down
29 changes: 1 addition & 28 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,30 +53,6 @@ platform :ios do

new_build_number = latest_testflight_build_number + 1

slack(
message: "현재진행중인 버전입니다",
channel: "#알림-ios-배포",
slack_url: "#{SLACK_HOOK_URL}",
username: "대신 배포해주는 고양이",
icon_url: "https://avatars.githubusercontent.com/u/21079970?v=4",
payload: {
"Build Date" => Time.new.to_s,
},
attachment_properties: {
fields: [
{
title: "Scheme",
value: "Release",
},
{
title: "Build Number",
value: "#{new_build_number.to_s}",
}
]
},
success: true
)

# ✅ 빌드
build_app(
workspace: "#{APP_NAME}.xcworkspace",
Expand All @@ -85,10 +61,7 @@ platform :ios do
)

# ✅ 테스트 플라이트 업로드
upload_to_testflight(
skip_waiting_for_build_processing: true,
build_number: "#{new_build_number.to_s}"
)
upload_to_testflight(skip_waiting_for_build_processing: true)
slack(
message: "⭐️ 테스트 플라이트 업로드 성공",
channel: "#알림-ios-배포",
Expand Down

0 comments on commit 9abf747

Please sign in to comment.