Fastlane fixes working up to a full release #68
| @@ -13,6 +13,7 @@ jobs: | |||||||
|     runs-on: macos |     runs-on: macos | ||||||
|     steps: |     steps: | ||||||
|       - uses: https://gitea.com/actions/checkout@v4 |       - uses: https://gitea.com/actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: Fetch tags from main branch |       - name: Fetch tags from main branch | ||||||
|         # since this workflow is triggered by a pull request, we want to match the latest tag of the main branch |         # since this workflow is triggered by a pull request, we want to match the latest tag of the main branch | ||||||
|         id: version |         id: version | ||||||
| @@ -22,6 +23,11 @@ jobs: | |||||||
|           # remove the 'v' prefix from the tag name |           # remove the 'v' prefix from the tag name | ||||||
|           echo "BUILD_NAME=${LATEST_TAG//v}" >> $GITHUB_ENV |           echo "BUILD_NAME=${LATEST_TAG//v}" >> $GITHUB_ENV | ||||||
|          |          | ||||||
|  |       - name: Output the version that is being used | ||||||
|  |         run: | | ||||||
|  |           echo "Building for version ${{ env.BUILD_NAME }}" | ||||||
|  |  | ||||||
|  |  | ||||||
|   # build-android: |   # build-android: | ||||||
|   #   name: Build and upload android app |   #   name: Build and upload android app | ||||||
|   #   uses: ./.gitea/workflows/workflow_build-app-android.yaml |   #   uses: ./.gitea/workflows/workflow_build-app-android.yaml | ||||||
|   | |||||||
| @@ -73,9 +73,8 @@ jobs: | |||||||
|           MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }} |           MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }} | ||||||
|  |  | ||||||
|       - name: Replace API Key from secret |       - name: Replace API Key from secret | ||||||
|         # on macos the -i (in-place) option requires a backup extension (.bak) here |         # even though the runner is macOS, the sed command is run in a Linux container | ||||||
|         run: | |         run: | | ||||||
|           echo $OSTYPE |  | ||||||
|           sed -i -e "s/IOS_GOOGLE_MAPS_API_KEY/${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}/g" Runner/AppDelegate.swift |           sed -i -e "s/IOS_GOOGLE_MAPS_API_KEY/${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}/g" Runner/AppDelegate.swift | ||||||
|  |  | ||||||
|       - name: Run fastlane lane |       - name: Run fastlane lane | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user