Skip to content

Commit

Permalink
✨ Make Loop.zip inside build_loop.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKai77 committed Aug 10, 2023
1 parent 4533f83 commit af72d47
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build-loop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ jobs:
- name: Build Loop.app
run: |
sh ./resources/build_loop.sh debug
- name: Zip Loop.app
run: |
ditto -c -k --sequesterRsrc --keepParent Loop.app Loop.zip
- name: Upload achived app
uses: actions/upload-artifact@v3.1.2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ Loop.app
*.xcuserstate
project.xcworkspace
xcuserdata
Loop.zip
4 changes: 4 additions & 0 deletions resources/build_loop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

echo "Preparing..."
rm -rf ./Loop.app
rm -rf ./Loop.zip

echo "Building Loop..."
xcodebuild clean archive -project ./Loop.xcodeproj -scheme Loop -archivePath ./Archive
Expand All @@ -22,5 +23,8 @@ echo "Cleaning up..."
rm -rf Archive.xcarchive
rm -rf Build

echo "Compressing..."
ditto -c -k --sequesterRsrc --keepParent Loop.app Loop.zip

open .
echo "Done!"

0 comments on commit af72d47

Please sign in to comment.