Skip to content

Commit

Permalink
install sentry-cli and exit correct pipe status
Browse files Browse the repository at this point in the history
  • Loading branch information
armcknight committed Oct 4, 2023
1 parent 0403eb9 commit 4da46a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- run: brew install xcbeautify
- run: brew install xcbeautify getsentry/tools/sentry-cli
shell: sh
- uses: ruby/setup-ruby@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ init:
xcodebuild -downloadPlatform iOS

release:
xcodebuild -workspace EmpowerPlant.xcworkspace -scheme EmpowerPlant -configuration Release -derivedDataPath build -sdk iphonesimulator clean build 2>&1 | tee release-build.log | xcbeautify
xcodebuild -workspace EmpowerPlant.xcworkspace -scheme EmpowerPlant -configuration Release -derivedDataPath build -sdk iphonesimulator clean build 2>&1 | tee release-build.log | xcbeautify && exit ${PIPESTATUS[0]}
zip -r EmpowerPlant_release.zip ./build/Build/Products/Release-iphonesimulator/EmpowerPlant.app
@echo "\nBuild completed. Create a new release in GitHub and upload ./EmpowerPlant_release.zip."

0 comments on commit 4da46a9

Please sign in to comment.