From 562bc6a2739a69bd50ac298e0c6e8c9fdb09f9e1 Mon Sep 17 00:00:00 2001
From: Kanz <87kangsw@gmail.com>
Date: Sat, 20 Nov 2021 12:52:05 +0900
Subject: [PATCH 1/4] =?UTF-8?q?=ED=94=84=EB=A1=9C=ED=95=84=20=EC=9D=B4?=
=?UTF-8?q?=EB=AF=B8=EC=A7=80=20=ED=8C=8C=EC=8B=B1=EC=98=A4=EB=A5=98=20?=
=?UTF-8?q?=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../ViewControllers/Activity/ActivityViewReactor.swift | 2 +-
GitTime/Sources/ViewControllers/Buddy/BuddyViewReactor.swift | 4 +---
GitTime/Supporting Files/Info.plist | 4 ++--
3 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/GitTime/Sources/ViewControllers/Activity/ActivityViewReactor.swift b/GitTime/Sources/ViewControllers/Activity/ActivityViewReactor.swift
index e578a14..6dc7937 100644
--- a/GitTime/Sources/ViewControllers/Activity/ActivityViewReactor.swift
+++ b/GitTime/Sources/ViewControllers/Activity/ActivityViewReactor.swift
@@ -284,7 +284,7 @@ final class ActivityViewReactor: ReactorKit.Reactor {
/html/body[@class='logged-in env-production page-responsive page-profile']/div[@class='application-main ']/main[@id='js-pjax-container']/div[@class='container-xl px-3 px-md-4 px-lg-5']/div[@class='gutter-condensed gutter-lg flex-column flex-md-row d-flex']/div[@class='flex-shrink-0 col-12 col-md-3 mb-4 mb-md-0']/div[@class='h-card mt-md-n5']/div[@class='clearfix d-flex d-md-block flex-items-center mb-4 mb-md-0']/div[@class='position-relative d-inline-block col-2 col-md-12 mr-3 mr-md-0 flex-shrink-0']/a/img[@class='avatar avatar-user width-full border color-bg-primary']/@src
*/
for link in doc.css("img") {
- if let imgClass = link["class"], imgClass == "avatar avatar-user width-full border color-bg-primary" {
+ if let imgClass = link["class"], imgClass == "avatar avatar-user width-full border color-bg-default" {
profileURL = link["src"] ?? ""
}
}
diff --git a/GitTime/Sources/ViewControllers/Buddy/BuddyViewReactor.swift b/GitTime/Sources/ViewControllers/Buddy/BuddyViewReactor.swift
index 02852cf..1416f4f 100644
--- a/GitTime/Sources/ViewControllers/Buddy/BuddyViewReactor.swift
+++ b/GitTime/Sources/ViewControllers/Buddy/BuddyViewReactor.swift
@@ -283,14 +283,12 @@ final class BuddyViewReactor: Reactor {
}
}
- //
for link in doc.css("img") {
- if let imgClass = link["class"], imgClass == "avatar avatar-user width-full border color-bg-primary" {
+ if let imgClass = link["class"], imgClass == "avatar avatar-user width-full border color-bg-default" {
profileURL = link["src"] ?? ""
}
}
- //
for span in doc.css("span") {
if let itemProp = span["itemprop"], itemProp.isNotEmpty {
if itemProp == "name" {
diff --git a/GitTime/Supporting Files/Info.plist b/GitTime/Supporting Files/Info.plist
index c68e10d..ebe9eee 100644
--- a/GitTime/Supporting Files/Info.plist
+++ b/GitTime/Supporting Files/Info.plist
@@ -85,7 +85,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 2.1.1
+ 2.1.2
CFBundleURLTypes
@@ -100,7 +100,7 @@
CFBundleVersion
- 3
+ 1
ITSAppUsesNonExemptEncryption
LSApplicationQueriesSchemes
From 0592c9689e08225d4e6fdcdaa489c97641e25f8c Mon Sep 17 00:00:00 2001
From: Kanz <87kangsw@gmail.com>
Date: Sat, 20 Nov 2021 20:37:06 +0900
Subject: [PATCH 2/4] =?UTF-8?q?=EC=A6=90=EA=B2=A8=EC=B0=BE=EB=8A=94=20?=
=?UTF-8?q?=EC=96=B8=EC=96=B4=20realm=20=EC=98=A4=EB=A5=98=20=EC=88=98?=
=?UTF-8?q?=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GitTime/Sources/Models/FavoriteLanguage.swift | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/GitTime/Sources/Models/FavoriteLanguage.swift b/GitTime/Sources/Models/FavoriteLanguage.swift
index 56aaf01..7df0449 100644
--- a/GitTime/Sources/Models/FavoriteLanguage.swift
+++ b/GitTime/Sources/Models/FavoriteLanguage.swift
@@ -12,6 +12,10 @@ import RealmSwift
class FavoriteLanguage: Object {
@objc dynamic var name: String = ""
@objc dynamic var color: String = ""
+
+ override class func primaryKey() -> String? {
+ return "name"
+ }
}
extension FavoriteLanguage {
From c08df500bc4a3e405c5cc7d62ffa5db1540ccd23 Mon Sep 17 00:00:00 2001
From: Kanz <87kangsw@gmail.com>
Date: Sat, 20 Nov 2021 20:37:15 +0900
Subject: [PATCH 3/4] bump build number
---
GitTime/Supporting Files/Info.plist | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/GitTime/Supporting Files/Info.plist b/GitTime/Supporting Files/Info.plist
index ebe9eee..a81102d 100644
--- a/GitTime/Supporting Files/Info.plist
+++ b/GitTime/Supporting Files/Info.plist
@@ -100,7 +100,7 @@
CFBundleVersion
- 1
+ 2
ITSAppUsesNonExemptEncryption
LSApplicationQueriesSchemes
From 7ec0449c797a7e1e2cc4eea2e8973101cca35f39 Mon Sep 17 00:00:00 2001
From: Kanz <87kangsw@gmail.com>
Date: Sat, 20 Nov 2021 20:58:47 +0900
Subject: [PATCH 4/4] =?UTF-8?q?appstore=20=EC=97=85=EB=A1=9C=EB=93=9C=20la?=
=?UTF-8?q?ne=20=EC=B6=94=EA=B0=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Makefile | 5 ++++-
fastlane/Fastfile | 8 ++++++++
fastlane/README.md | 7 ++++++-
3 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 8e47633..a1d0c15 100644
--- a/Makefile
+++ b/Makefile
@@ -7,4 +7,7 @@ clean:
pod deintegrate
dev-upload:
- fastlane ios develop firebase_upload:true groups:iOS slack_notify:true
\ No newline at end of file
+ fastlane ios develop firebase_upload:true groups:iOS slack_notify:true
+
+appstore:
+ fastlane ios release
\ No newline at end of file
diff --git a/fastlane/Fastfile b/fastlane/Fastfile
index 62b1a14..792c613 100644
--- a/fastlane/Fastfile
+++ b/fastlane/Fastfile
@@ -174,5 +174,13 @@ platform :ios do
)
end
end
+
+ lane :release do
+ sync_code_signing(type: "appstore")
+ build_app(scheme: "GitTime")
+ upload_to_app_store(force: true)
+ end
+
+
end
diff --git a/fastlane/README.md b/fastlane/README.md
index 9a79224..7406433 100644
--- a/fastlane/README.md
+++ b/fastlane/README.md
@@ -36,9 +36,14 @@ fastlane ios message_to_slack
fastlane ios new_member
```
+### ios release
+```
+fastlane ios release
+```
+
----
-This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
+This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).