xref: /expo/bin/unlock (revision 58b9ee98)
1#!/usr/bin/env bash
2set -e -o pipefail
3
4KEYFILE=$HOME/.expo-internal/expo-git-crypt-key
5
6if [ ! -f "$KEYFILE" ]; then
7  echo "The git-crypt key for the Expo repository is missing. Run \`update-local-secrets\` in Universe first and then run \`unlock\` here again."
8  exit 1
9fi
10
11git-crypt unlock "$KEYFILE"
12