Skip to content

Commit

Permalink
πŸ› Fix bug in laminci release dialogue
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Sep 9, 2024
1 parent bf2a995 commit 94048a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions laminci/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,10 @@ def main():
"Please pass a link to the changelog entry via: --changelog"
" 'your-link'"
)
if Path("./LICENSE").exists() and args.pypi is None:
if Path("./LICENSE").exists() and not args.pypi:
raise SystemExit(
"Did you forgot to publish to PyPI? A LICENSE file exists."
"ERROR: Did you forget to add the `--pypi` flag? A LICENSE file"
" exists and I assume this is an open-source package."
)
else:
assert Path.cwd().name == "laminhub"
Expand Down

0 comments on commit 94048a2

Please sign in to comment.