github.com/mutagen-io/mutagen@v0.18.0-rc1/scripts/ci/sha256sign.sh (about)

     1  #!/bin/bash
     2  
     3  # Exit immediately on failure.
     4  set -e
     5  
     6  # Move to the release directory.
     7  pushd build/release > /dev/null
     8  
     9  # Sign the SHA256 digests file.
    10  gpg --detach-sign --armor \
    11      --default-key "${SHA256_GPG_SIGNING_IDENTITY}" \
    12      --output SHA256SUMS.gpg \
    13      SHA256SUMS
    14  
    15  # Leave the release directory.
    16  popd > /dev/null