Metadata for app store releases #44
| @@ -6,7 +6,7 @@ on: | |||||||
|       - frontend/** |       - frontend/** | ||||||
|  |  | ||||||
|  |  | ||||||
| name: Build and release debug APK | name: Build and release debug APK to testing track | ||||||
|  |  | ||||||
| defaults: | defaults: | ||||||
|   run: |   run: | ||||||
| @@ -52,13 +52,14 @@ jobs: | |||||||
|         ruby-version: 3.3 |         ruby-version: 3.3 | ||||||
|         bundler-cache: true # runs 'bundle install' and caches installed gems automatically |         bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||||||
|  |  | ||||||
|     - name: Infer version number from git tag |     - name: Fetch tags from main branch | ||||||
|       id: version |       # since this workflow is triggered by a pull request, we want to match the latest tag of the main branch | ||||||
|       env:  |       id: build_name | ||||||
|         REF_NAME: ${{ gitea.ref_name }} |       run: | | ||||||
|       run: |         git fetch origin main --tags | ||||||
|  |         LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) | ||||||
|         # remove the 'v' prefix from the tag name |         # remove the 'v' prefix from the tag name | ||||||
|         echo "BUILD_NAME=${REF_NAME//v}" >> $GITHUB_ENV |         echo "BUILD_NAME=${LATEST_TAG//v}" >> $GITHUB_OUTPUT | ||||||
|  |  | ||||||
|     - name: Add required secret files |     - name: Add required secret files | ||||||
|       run: | |       run: | | ||||||
| @@ -70,5 +71,5 @@ jobs: | |||||||
|       run: bundle exec fastlane deploy_beta |       run: bundle exec fastlane deploy_beta | ||||||
|       env: |       env: | ||||||
|         BUILD_NUMBER: ${{ gitea.run_number }} |         BUILD_NUMBER: ${{ gitea.run_number }} | ||||||
|         # BUILD_NAME is implicitly available |         BUILD_NAME: ${{ steps.build_name.outputs.BUILD_NAME }} | ||||||
|         ANDROID_GOOGLE_MAPS_API_KEY: ${{ secrets.ANDROID_GOOGLE_MAPS_API_KEY }} |         ANDROID_GOOGLE_MAPS_API_KEY: ${{ secrets.ANDROID_GOOGLE_MAPS_API_KEY }} | ||||||
|   | |||||||
| @@ -42,13 +42,14 @@ jobs: | |||||||
|           ruby-version: 3.3 |           ruby-version: 3.3 | ||||||
|           bundler-cache: true # runs 'bundle install' and caches installed gems automatically |           bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||||||
|  |  | ||||||
|       - name: Infer version number from git tag |       - name: Fetch tags from main branch | ||||||
|         id: version |         # since this workflow is triggered by a pull request, we want to match the latest tag of the main branch | ||||||
|         env:  |         id: build_name | ||||||
|           REF_NAME: ${{ gitea.ref_name }} |         run: | | ||||||
|         run: |           git fetch origin main --tags | ||||||
|  |           LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) | ||||||
|           # remove the 'v' prefix from the tag name |           # remove the 'v' prefix from the tag name | ||||||
|           echo "BUILD_NAME=${REF_NAME//v}" >> $GITHUB_ENV |           echo "BUILD_NAME=${LATEST_TAG//v}" >> $GITHUB_OUTPUT | ||||||
|  |  | ||||||
|       - name: Setup SSH key for match git repo |       - name: Setup SSH key for match git repo | ||||||
|         # and mark the host as known |         # and mark the host as known | ||||||
| @@ -63,7 +64,7 @@ jobs: | |||||||
|         run: bundle exec fastlane deploy_beta |         run: bundle exec fastlane deploy_beta | ||||||
|         env: |         env: | ||||||
|           BUILD_NUMBER: ${{ gitea.run_number }} |           BUILD_NUMBER: ${{ gitea.run_number }} | ||||||
|           # BUILD_NAME is implicitly available |           BUILD_NAME: ${{ steps.build_name.outputs.BUILD_NAME }} | ||||||
|           GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }} |           GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }} | ||||||
|           IOS_ASC_KEY_ID: ${{ secrets.IOS_ASC_KEY_ID }} |           IOS_ASC_KEY_ID: ${{ secrets.IOS_ASC_KEY_ID }} | ||||||
|           IOS_ASC_ISSUER_ID: ${{ secrets.IOS_ASC_ISSUER_ID }} |           IOS_ASC_ISSUER_ID: ${{ secrets.IOS_ASC_ISSUER_ID }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user