Fastlane fixes working up to a full release #68
| @@ -72,6 +72,10 @@ jobs: | ||||
|         env: | ||||
|           MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }} | ||||
|  | ||||
|       - name: Replace API Key from secret | ||||
|         run: | | ||||
|           sed -i '' 's/IOS_GOOGLE_MAPS_API_KEY/${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}/g' Runner/AppDelegate.swift | ||||
|  | ||||
|       - name: Run fastlane lane | ||||
|         run: bundle exec fastlane deploy_${{ inputs.build_type }} | ||||
|         env: | ||||
|   | ||||
| @@ -28,17 +28,6 @@ platform :ios do | ||||
|       readonly: true, | ||||
|     ) | ||||
|  | ||||
|     # replace secrets by real values, the stupid way | ||||
|     sh( | ||||
|       "sed", | ||||
|       "-i",  | ||||
|       "''", | ||||
|       "s/IOS_GOOGLE_MAPS_API_KEY/#{ENV["IOS_GOOGLE_MAPS_API_KEY"]}/g",  | ||||
|       "../Runner/AppDelegate.swift" | ||||
|     ) | ||||
|      | ||||
|  | ||||
|  | ||||
|     sh( | ||||
|       "flutter", | ||||
|       "build", | ||||
| @@ -74,15 +63,6 @@ platform :ios do | ||||
|       readonly: true, | ||||
|     ) | ||||
|  | ||||
|     # replace secrets by real values, the stupid way | ||||
|     sh( | ||||
|       "sed", | ||||
|       "-i", | ||||
|       "''", | ||||
|       "s/IOS_GOOGLE_MAPS_API_KEY/#{ENV["IOS_GOOGLE_MAPS_API_KEY"]}/g", | ||||
|       "../Runner/AppDelegate.swift" | ||||
|     ) | ||||
|  | ||||
|     sh( | ||||
|       "flutter", | ||||
|       "build", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user