Преглед изворни кода

Add prebuilt framework when releasing to GitHub

Joseph Duffy пре 6 година
родитељ
комит
347bca1228
2 измењених фајлова са 4 додато и 1 уклоњено
  1. 1 0
      .gitignore
  2. 3 1
      fastlane/Fastfile

+ 1 - 0
.gitignore

@@ -35,6 +35,7 @@ DerivedData
 # Carthage/Checkouts
 
 Carthage/Build
+Kingfisher.framework.zip
 
 # OSX
 .DS_Store

+ 3 - 1
fastlane/Fastfile

@@ -51,6 +51,7 @@ platform :ios do
       
       tests
       lint
+      carthage(command: "archive", frameworks: ["Kingfisher"])
       
       sync_build_number_to_git
       increment_version_number(version_number: target_version)
@@ -72,7 +73,8 @@ platform :ios do
       api_token: ENV['GITHUB_TOKEN'],
       name: release_log[:title],
       tag_name: target_version,
-      description: release_log[:text]
+      description: release_log[:text],
+      upload_assets: ["Kingfisher.framework.zip"]
       )
 
       pod_push