Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5cf7f97

Browse files
committed
Fix non-venv branch always failing
cc202cc put an end to the problem where, when run outside a virtualenvironment, it would always "succeed", because all "|| echo ..."required to succeed was for the echo command reporting the error tosucceed. Unfortunately, that commit created the oppposite problem,causing that case to always fail! This commit fixes it, so it failswhen there is an error, and succeeds when there is no error.
1 parentf5da163 commit5cf7f97

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ force_release: clean
4343
python -m build --sdist --wheel; \
4444
else \
4545
python3 -m build --sdist --wheel || \
46-
echo "Use a virtual-env with 'python -m venv env && source env/bin/activate' instead" && \
47-
false; \
46+
{ echo "Use a virtual-env with 'python -m venv env && source env/bin/activate' instead" && false; }; \
4847
fi
4948

5049
# Upload to PyPI and push the tag.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp