Skip to content

Commit

Permalink
upload-ios: fix export_presets.cfg creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Aug 24, 2023
1 parent be2bbf5 commit dc39619
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/upload-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- "version-ios"
- ".github/workflows/upload-ios.yml"
- "exportOptions.plist"
- "export_presets.ios.example"


env:
PROJECT_NAME: PocketBroomball
Expand Down Expand Up @@ -57,7 +59,7 @@ jobs:

- name: Create and config export_presets.cfg
run: |
cp game/export_presets.example game/export_presets.cfg
cp game/export_presets.ios.example game/export_presets.cfg
sed -i -e "s|VERSION_CODE|$VERSION|g" $WORKING_DIRECTORY/export_presets.cfg
sed -i -e "s|VERSION_NAME|$VERSION|g" $WORKING_DIRECTORY/export_presets.cfg
sed -i -e "s|IOS_SHORT_VERSION|$VERSION|g" $WORKING_DIRECTORY/export_presets.cfg
Expand Down

0 comments on commit dc39619

Please sign in to comment.