diff --git a/.gitea/workflows/frontend_deploy-beta.yaml b/.gitea/workflows/frontend_deploy-beta.yaml index 83a2354..d469bde 100644 --- a/.gitea/workflows/frontend_deploy-beta.yaml +++ b/.gitea/workflows/frontend_deploy-beta.yaml @@ -13,6 +13,7 @@ jobs: runs-on: macos steps: - uses: https://gitea.com/actions/checkout@v4 + - 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 id: version @@ -21,6 +22,11 @@ jobs: LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) # remove the 'v' prefix from the tag name 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: # name: Build and upload android app diff --git a/.gitea/workflows/workflow_build-app-ios.yaml b/.gitea/workflows/workflow_build-app-ios.yaml index ab4359d..bc8af37 100644 --- a/.gitea/workflows/workflow_build-app-ios.yaml +++ b/.gitea/workflows/workflow_build-app-ios.yaml @@ -73,9 +73,8 @@ jobs: MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }} - 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: | - echo $OSTYPE sed -i -e "s/IOS_GOOGLE_MAPS_API_KEY/${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}/g" Runner/AppDelegate.swift - name: Run fastlane lane