Skip to content

Commit

Permalink
fixup! contrib/sign-release.sh: allow secret via stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
herbetom committed Nov 10, 2024
1 parent c5d09d7 commit c022a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/sign-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PRIVATE_KEY_PATH="${2:-}"
PRIVATE_KEY=""

[ -z "$RELEASE_VERSION" ] && usage
[ ! -z "$PRIVATE_KEY_PATH" ] && PRIVATE_KEY="$(cat $PRIVATE_KEY_PATH)"
[ ! -z "$PRIVATE_KEY_PATH" ] && PRIVATE_KEY="$(cat "$PRIVATE_KEY_PATH")"
[ -z "$PRIVATE_KEY" ] && [ ! -t 0 ] && PRIVATE_KEY=$(cat)
[ -z "$PRIVATE_KEY" ] && usage

Expand Down

0 comments on commit c022a49

Please sign in to comment.