Skip to content

Commit

Permalink
ci/cd: use version file
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Sep 25, 2023
1 parent 1fd2e08 commit 347fd45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upload-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 347fd45

Please sign in to comment.