Skip to content

Commit

Permalink
Print version to sderr
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed Jul 13, 2023
1 parent d71bb12 commit 61b88d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ jobs:
if: matrix.python-version != '3.6'
run: |
update_needed=$(python -c "
import sys
from packaging.version import Version
import xesmf as xe
v = Version(getattr(xe, '__version__', '0.0.0'))
print(v, file=sys.stderr)
print('n' if v >= Version('0.7') else 'y')
")
if [[ $update_needed == 'y' ]]; then
Expand Down

0 comments on commit 61b88d8

Please sign in to comment.