Skip to content

Commit

Permalink
_cli: emit .sigstore.json by default
Browse files Browse the repository at this point in the history
Closes #814.

Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw committed May 9, 2024
1 parent 3a19f88 commit 8c71205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sigstore/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def _parser() -> argparse.ArgumentParser:
"--no-default-files",
action="store_true",
default=_boolify_env("SIGSTORE_NO_DEFAULT_FILES"),
help="Don't emit the default output files ({input}.sigstore)",
help="Don't emit the default output files ({input}.sigstore.json)",
)
output_options.add_argument(
"--signature",
Expand Down Expand Up @@ -559,7 +559,7 @@ def _sign(args: argparse.Namespace) -> None:
output_dir.mkdir(parents=True, exist_ok=True)

if not bundle and not args.no_default_files:
bundle = output_dir / f"{file.name}.sigstore"
bundle = output_dir / f"{file.name}.sigstore.json"

if not args.overwrite:
extants = []
Expand Down

0 comments on commit 8c71205

Please sign in to comment.