Skip to content

Commit

Permalink
Never fail due to diffs, but still show them
Browse files Browse the repository at this point in the history
  • Loading branch information
jvolkman authored Jul 16, 2024
1 parent add1426 commit b1a974e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions ci/release
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ TAG=$(git -c 'versionsort.suffix=-rc' tag --sort=v:refname | tail -1)
tools/bazel run //tools/releaser -- -tag "$TAG" -skipBranchCheck

>&2 echo "--- git diff :git:"
if [ "$GITHUB_EVENT_NAME" = "pull_request" ]
then
# Don't fail on diff in a pull request
git diff
else
git diff --exit-code
fi
git diff

>&2 echo "OK :white_check_mark:"

0 comments on commit b1a974e

Please sign in to comment.