From 347fd454fd347bcc179fa03e3b254bf818abf1cb Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Mon, 25 Sep 2023 20:40:57 +0200 Subject: [PATCH] ci/cd: use version file --- .github/workflows/upload-android.yml | 4 ++-- .github/workflows/upload-ios.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upload-android.yml b/.github/workflows/upload-android.yml index e5ccbc6..2227fd4 100644 --- a/.github/workflows/upload-android.yml +++ b/.github/workflows/upload-android.yml @@ -31,8 +31,8 @@ jobs: - name: Read version number and version code run: | - echo "VERSION_NAME=$(cat version-android | cut -f1 -d-)" >> $GITHUB_ENV - echo "VERSION_CODE=$(cat version-android | cut -f2 -d-)" >> $GITHUB_ENV + echo "VERSION_NAME=$(cat version | cut -f1 -d-)" >> $GITHUB_ENV + echo "VERSION_CODE=$(cat version | cut -f2 -d-)" >> $GITHUB_ENV - name: Checkout source code uses: actions/checkout@v3 diff --git a/.github/workflows/upload-ios.yml b/.github/workflows/upload-ios.yml index 8a917d6..f0df195 100644 --- a/.github/workflows/upload-ios.yml +++ b/.github/workflows/upload-ios.yml @@ -57,7 +57,7 @@ jobs: cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles - name: Set version and short version - run: echo "VERSION=$(cat version-ios)" >> $GITHUB_ENV + run: echo "VERSION=$(cat version)" >> $GITHUB_ENV - name: Change driver to GLES3 run: echo 'quality/driver/driver_name="GLES3"' >> game/project.godot