Skip to content

Commit

Permalink
Update GitIgnore Setup for the XCFramework Generation
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Schmiedmayer <[email protected]>
  • Loading branch information
PSchmiedmayer authored May 31, 2024
1 parent a7e81fd commit aa7ac8d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/xcframework-commit-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ jobs:
merge-multiple: true
- name: Untar XCFrameworks
run: |
if ! grep -qxF '.build' .gitignore; then
echo '.build' >> .gitignore
fi
mkdir -p ${{ inputs.outputpath }}
find ./.build -name "*.tar.gz" -exec tar -zxvf {} -C ./.build \;
for xcframework in $(find ./.build -name "*.xcframework"); do
rm -rf ${{ inputs.outputpath }}/$(basename "$xcframework")
Expand All @@ -61,7 +66,6 @@ jobs:
if: ${{ !inputs.dryrun }}
uses: EndBug/add-and-commit@v9
with:
add: ${{ inputs.outputpath }}/*.xcframework
message: Create XCFrameworks for release ${{ inputs.version }}
tag: ${{ inputs.version }} --force
tag_push: --force
Expand Down

0 comments on commit aa7ac8d

Please sign in to comment.