Fastlane fixes working up to a full release #68
| @@ -21,18 +21,22 @@ jobs: | |||||||
|           git fetch origin main --tags |           git fetch origin main --tags | ||||||
|           LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) |           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=${LATEST_TAG//v}" >> $GITHUB_OUTPUT       |           echo "BUILD_NAME=${LATEST_TAG//v}" >> $GITHUB_OUTPUT | ||||||
|  |  | ||||||
|       - name: Output the version that is being used |       - name: Output the version that is being used | ||||||
|         run: | |         run: | | ||||||
|           echo "Building for version ${{ steps.version.outputs.BUILD_NAME }}" |           echo "Building for version ${{ steps.version.outputs.BUILD_NAME }}" | ||||||
|  |  | ||||||
|  |     outputs: | ||||||
|  |       build_name: ${{ steps.version.outputs.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 | ||||||
|   #   with: |   #   with: | ||||||
|   #     build_type: release # for current testing |   #     build_type: release # for current testing | ||||||
|   #     build_name: ${{ env.BUILD_NAME }} |   #     build_name: ${{ needs.get-version.outputs.build_name }} | ||||||
|   #   secrets: |   #   secrets: | ||||||
|   #     ANDROID_SECRET_PROPERTIES_BASE64: ${{ secrets.ANDROID_SECRET_PROPERTIES_BASE64 }} |   #     ANDROID_SECRET_PROPERTIES_BASE64: ${{ secrets.ANDROID_SECRET_PROPERTIES_BASE64 }} | ||||||
|   #     ANDROID_GOOGLE_PLAY_JSON_BASE64: ${{ secrets.ANDROID_GOOGLE_PLAY_JSON_BASE64 }} |   #     ANDROID_GOOGLE_PLAY_JSON_BASE64: ${{ secrets.ANDROID_GOOGLE_PLAY_JSON_BASE64 }} | ||||||
| @@ -45,7 +49,7 @@ jobs: | |||||||
|     uses: ./.gitea/workflows/workflow_build-app-ios.yaml |     uses: ./.gitea/workflows/workflow_build-app-ios.yaml | ||||||
|     with: |     with: | ||||||
|       build_type: release # for current testing |       build_type: release # for current testing | ||||||
|       build_name: ${{ steps.version.outputs.BUILD_NAME }} |       build_name: ${{ needs.get-version.outputs.build_name }} | ||||||
|     secrets: |     secrets: | ||||||
|       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 }} | ||||||
|   | |||||||
| @@ -11,13 +11,23 @@ jobs: | |||||||
|     runs-on: macos |     runs-on: macos | ||||||
|     steps: |     steps: | ||||||
|       - uses: https://gitea.com/actions/checkout@v4 |       - uses: https://gitea.com/actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: Get version from git tag |       - name: Get version from git tag | ||||||
|         id: version |         id: version | ||||||
|         env:  |         env:  | ||||||
|           REF_NAME: ${{ gitea.ref_name }} |           REF_NAME: ${{ gitea.ref_name }} | ||||||
|         # remove the 'v' prefix from the tag name |         # remove the 'v' prefix from the tag name | ||||||
|         run: | |         run: | | ||||||
|           echo "BUILD_NAME=${REF_NAME//v}" >> $GITHUB_ENV |           echo "BUILD_NAME=${REF_NAME//v}" >> $GITHUB_OUTPUT | ||||||
|  |  | ||||||
|  |       - name: Output the version that is being used | ||||||
|  |         run: | | ||||||
|  |           echo "Building for version ${{ steps.version.outputs.BUILD_NAME }}" | ||||||
|  |  | ||||||
|  |     outputs: | ||||||
|  |       build_name: ${{ steps.version.outputs.BUILD_NAME }} | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|   build-android: |   build-android: | ||||||
| @@ -25,7 +35,7 @@ jobs: | |||||||
|     uses: ./.gitea/workflows/workflow_build-app-android.yaml |     uses: ./.gitea/workflows/workflow_build-app-android.yaml | ||||||
|     with: |     with: | ||||||
|       build_type: release |       build_type: release | ||||||
|       build_name: ${{ env.BUILD_NAME }} |       build_name: ${{ needs.get-version.outputs.build_name }} | ||||||
|     secrets: |     secrets: | ||||||
|       ANDROID_SECRET_PROPERTIES_BASE64: ${{ secrets.ANDROID_SECRET_PROPERTIES_BASE64 }} |       ANDROID_SECRET_PROPERTIES_BASE64: ${{ secrets.ANDROID_SECRET_PROPERTIES_BASE64 }} | ||||||
|       ANDROID_GOOGLE_PLAY_JSON_BASE64: ${{ secrets.ANDROID_GOOGLE_PLAY_JSON_BASE64 }} |       ANDROID_GOOGLE_PLAY_JSON_BASE64: ${{ secrets.ANDROID_GOOGLE_PLAY_JSON_BASE64 }} | ||||||
| @@ -38,7 +48,7 @@ jobs: | |||||||
|     uses: ./.gitea/workflows/workflow_build-app-ios.yaml |     uses: ./.gitea/workflows/workflow_build-app-ios.yaml | ||||||
|     with: |     with: | ||||||
|       build_type: release |       build_type: release | ||||||
|       build_name: ${{ env.BUILD_NAME }} |       build_name: ${{ needs.get-version.outputs.build_name }} | ||||||
|     secrets: |     secrets: | ||||||
|       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