Skip to content

Commit

Permalink
[fix] $app_name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrs1669 committed May 14, 2024
1 parent afc7fe5 commit 1556501
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ jobs:
- name: Upload IPA file to App Store Connect
run: |
xcrun altool --upload-app -f app.ipa/IOSTemplateApp.ipa \
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then app_name="`ls -A | grep -i \\.xcworkspace\$`"; else app_name="`ls -A | grep -i \\.xcodeproj\$`"; fi
xcrun altool --upload-app -f app.ipa/$app_name.ipa \
-u ${{ secrets.APPLE_ID }} \
-p ${{ secrets.APP_SPECIFIC_PASSWORD }} \
--type ios
- name: Upload IPA file to GitHub
uses: actions/upload-artifact@v3
with:
name: IOSTemplateApp.ipa
path: app.ipa/IOSTemplateApp.ipa
name: $app_name.ipa
path: app.ipa/$app_name.ipa

0 comments on commit 1556501

Please sign in to comment.