Skip to content

Commit

Permalink
please.sh upgrade: require gpg key to sign packages/db
Browse files Browse the repository at this point in the history
Rather than erroring out in the `upgrade` step, let's already error out
before starting.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Jul 12, 2017
1 parent d06a40a commit 32131b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions please.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2229,6 +2229,9 @@ updpkgsums () {
}

upgrade () { # <package>
test -n "$GPGKEY" ||
die "Need GPGKEY to upload packages\n"

grep -q '^machine api\.bintray\.com$' "$HOME"/_netrc ||
die "Missing BinTray entries in ~/_netrc\n"

Expand Down

0 comments on commit 32131b1

Please sign in to comment.