Skip to content

Commit

Permalink
capture the failure and dump it
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronosMasterOfAllTime committed Dec 19, 2024
1 parent 8a62ca2 commit 21fa914
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ jobs:
- name: Update App Version
run: |
echo "Doing it as: $GITHUB_ACTOR"
if [[ ${{ github.event.inputs.debug }} == true ]]; then
if [[ "${{ github.event.inputs.debug }}" == "true" ]]; then
echo "Debug mode enabled"
./scripts/update_app_version.sh > debug.log 2>&1 | tee -a debug.log
./scripts/update_app_version.sh 2>&1 | tee -a debug.log
cat debug.log
else
./scripts/update_app_version.sh
fi
Expand Down

0 comments on commit 21fa914

Please sign in to comment.