Skip to content

Commit

Permalink
Merge pull request #65 from 87kangsw/hotfix/2.1.2
Browse files Browse the repository at this point in the history
[Release] 2.1.2
  • Loading branch information
87kangsw committed Nov 24, 2021
2 parents ea29ffb + 7ec0449 commit 1b1e2e2
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 8 deletions.
4 changes: 4 additions & 0 deletions GitTime/Sources/Models/FavoriteLanguage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"] ?? ""
}
}
Expand Down
4 changes: 1 addition & 3 deletions GitTime/Sources/ViewControllers/Buddy/BuddyViewReactor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
4 changes: 2 additions & 2 deletions GitTime/Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.1.1</string>
<string>2.1.2</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
Expand All @@ -100,7 +100,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>3</string>
<string>2</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ clean:
pod deintegrate

dev-upload:
fastlane ios develop firebase_upload:true groups:iOS slack_notify:true
fastlane ios develop firebase_upload:true groups:iOS slack_notify:true

appstore:
fastlane ios release
8 changes: 8 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

7 changes: 6 additions & 1 deletion fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

0 comments on commit 1b1e2e2

Please sign in to comment.