Skip to content

Commit

Permalink
[WEAV-14] github action deploy config (#8)
Browse files Browse the repository at this point in the history
* [WEAV-15] bundle id / organization 변경

* [WEAV-14] github action deploy config file add
  • Loading branch information
jisu15-kim authored Sep 15, 2024
1 parent 65590cd commit eaab965
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 91 deletions.
Binary file added .github/secrets/3days-dev.mobileprovision.gpg
Binary file not shown.
Binary file added .github/secrets/3days-prod.mobileprovision.gpg
Binary file not shown.
Binary file added .github/secrets/certification.p12.gpg
Binary file not shown.
27 changes: 27 additions & 0 deletions ExportOptions-dev.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>destination</key>
<string>export</string>
<key>manageAppVersionAndBuildNumber</key>
<true/>
<key>method</key>
<string>app-store-connect</string>
<key>provisioningProfiles</key>
<dict>
<key>com.weave.three-days-dev</key>
<string>3days-dev</string>
</dict>
<key>signingCertificate</key>
<string>Apple Distribution</string>
<key>signingStyle</key>
<string>manual</string>
<key>stripSwiftSymbols</key>
<true/>
<key>teamID</key>
<string>846TMZL7WC</string>
<key>uploadSymbols</key>
<true/>
</dict>
</plist>
27 changes: 27 additions & 0 deletions ExportOptions-prod.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>destination</key>
<string>export</string>
<key>manageAppVersionAndBuildNumber</key>
<true/>
<key>method</key>
<string>app-store-connect</string>
<key>provisioningProfiles</key>
<dict>
<key>com.weave.three-days</key>
<string>3days-prod</string>
</dict>
<key>signingCertificate</key>
<string>Apple Distribution</string>
<key>signingStyle</key>
<string>manual</string>
<key>stripSwiftSymbols</key>
<true/>
<key>teamID</key>
<string>846TMZL7WC</string>
<key>uploadSymbols</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -1,93 +1,9 @@
{
"images" : [
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "60x60"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "60x60"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "20x20"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "29x29"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "76x76"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "76x76"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "83.5x83.5"
},
{
"idiom" : "ios-marketing",
"scale" : "1x",
"filename" : "logo.png",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Tuist/ProjectDescriptionHelpers/Project+extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extension Project {

return Project(
name: name,
organizationName: "com.studentcenter",
organizationName: "com.weave",
options: .options(
automaticSchemesOptions: .disabled,
defaultKnownRegions: ["ko"],
Expand Down
7 changes: 4 additions & 3 deletions Tuist/ProjectDescriptionHelpers/Target+extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ extension Target {
return .make(
name: target.name,
product: product,
bundleId: "com.studentcenter.weave2-\(target.name)",
bundleId: "com.weave.three-days-\(target.name)",
sources: ["\(target.sources)"],
dependencies: dependencies
)
Expand All @@ -89,10 +89,11 @@ extension Target {
settings: Settings? = nil,
dependencies: [TargetDependency] = []
) -> Target {
let flag = config == .prod ? "" : "-\(config.flag)"
return .make(
name: config.appName,
product: .app,
bundleId: "com.studentcenter.weave2-\(config.flag)",
bundleId: "com.weave.three-days\(flag)",
infoPlist: infoPlist,
sources: ["Sources/**"],
resources: ["Resources/**"],
Expand All @@ -108,7 +109,7 @@ extension Target {
return .make(
name: target.unitTestName,
product: .unitTests,
bundleId: "com.studentcenter.weave2-\(target.name)-unitTest",
bundleId: "com.weave.three-days-\(target.name)-unitTest",
sources: ["\(target.testSources)"],
dependencies: dependencies
)
Expand Down

0 comments on commit eaab965

Please sign in to comment.