Skip to content

Commit

Permalink
Merge pull request chipsalliance#2300 from hzeller/feature-20241215-n…
Browse files Browse the repository at this point in the history
…o-bazelversion

Add a potential problems check to make sure no .bazelversion is used.
  • Loading branch information
hzeller authored Dec 16, 2024
2 parents 3d821c6 + a0a1d9c commit 7452cde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/bin/check-potential-problems.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,9 @@ if [ $? -eq 0 ]; then
EXIT_CODE=1
fi

if [ -e .bazelversion ]; then
echo "Don't use .bazelversion. It is a poorly implemented bazel feature that does not support semantic versioning. Instead, make the repo work with all currently active bazel versions."
EXIT_CODE=1
fi

exit "${EXIT_CODE}"

0 comments on commit 7452cde

Please sign in to comment.