You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
300B

  1. #!/bin/bash
  2. SNEAK_KEY_ID="5539AD00DE4C42F3AFE11575052443F4DF2A55C2"
  3. if [[ -e ./SHASUMS ]]; then
  4. echo "SHASUMS already exists, exiting." > /dev/stderr
  5. exit 1
  6. fi
  7. find . -type f ! -name 'SHASUMS' -exec shasum {} \; >> SHASUMS
  8. gpg -u $SNEAK_KEY_ID -a --output SHASUMS.sig --detach-sig SHASUMS