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 {
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..a81102d 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
+ 2
ITSAppUsesNonExemptEncryption
LSApplicationQueriesSchemes
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).