From 4da46a9d21df2881aa0b650a645fd8ad18147df6 Mon Sep 17 00:00:00 2001 From: Andrew McKnight Date: Tue, 3 Oct 2023 20:32:48 -0700 Subject: [PATCH] install sentry-cli and exit correct pipe status --- .github/workflows/release.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index badb141..6ad09da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/Makefile b/Makefile index 2dff2b7..cb5065a 100644 --- a/Makefile +++ b/Makefile @@ -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."