Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Oct 11, 2022
1 parent b9c4d1f commit d8d0950
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
- name: Download Cryptonite from PyPI
run: |
python3 -m pip install \
--index-url https://test.pypi.org/simple/ \
--extra-index-url https://test.pypi.org/simple/ \
2022-sbi-ci-workflow-cryptonite
- name: Check Cryptonite version
Expand Down
2 changes: 1 addition & 1 deletion cryptonite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

from importlib.metadata import version

__version__ = version("cryptonite")
__version__ = version("2022-sbi-ci-workflow-cryptonite")
2 changes: 1 addition & 1 deletion cryptonite/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def make_cli() -> argparse.ArgumentParser:
decrypt_cmd = subparsers.add_parser("decrypt",
help="Decrypt message received from stdin and output to stdout.")

ver = version("cryptonite")
ver = version("2022-sbi-ci-workflow-cryptonite")
[cmd.add_argument("--version", action="version", version=f"%(prog)s v{ver}") for cmd in [cli, decrypt_cmd, encrypt_cmd]]

[cmd.add_argument("--validate-input", action="store_true") for cmd in [decrypt_cmd, encrypt_cmd]]
Expand Down

0 comments on commit d8d0950

Please sign in to comment.