Skip to content

Commit

Permalink
CI/CD: Ignore bash error code when deleting nightly-build tag if it d…
Browse files Browse the repository at this point in the history
…oesn't exist
  • Loading branch information
Jj0YzL5nvJ authored and ata4 committed Jan 9, 2022
1 parent fc9315d commit 6660e93
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ jobs:
sudo ldconfig
- name: Build and related stuff
run: |
R_TAG=$(git tag -l | grep 'nightly-build')
if ! [[ "${R_TAG}" == "" ]]; then git tag --delete nightly-build; fi
set +e
git tag --delete nightly-build
set -e
unset TARCH
if [[ "${{ matrix.platform }}" == "x86" ]]; then TARCH="-DCMAKE_C_FLAGS=\"-m32\" -DCMAKE_CXX_FLAGS=\"-m32\""; fi
G_REV=$(git describe --dirty --always --tags)
Expand Down

0 comments on commit 6660e93

Please sign in to comment.