fix: add `curl` as dependency

pull/94/head
Phorcys 2 years ago
parent bf7f9d0416
commit 326fafad02
No known key found for this signature in database

@ -10,7 +10,7 @@ tags: [helper, git]
# git-commit-signing # git-commit-signing
This module downloads your SSH key from Coder and uses it to sign commits with Git. This module downloads your SSH key from Coder and uses it to sign commits with Git.
It requires `jq` to be installed inside your workspace. It requires `curl` and `jq` to be installed inside your workspace.
Please observe that using the SSH key that's part of your Coder account for commit signing, means that in the event of a breach of your Coder account, or a malicious admin, someone could perform commit signing pretending to be you. Please observe that using the SSH key that's part of your Coder account for commit signing, means that in the event of a breach of your Coder account, or a malicious admin, someone could perform commit signing pretending to be you.

@ -5,6 +5,11 @@ if ! command -v git > /dev/null; then
exit 1 exit 1
fi fi
if ! command -v curl > /dev/null; then
echo "curl is not installed"
exit 1
fi
if ! command -v jq > /dev/null; then if ! command -v jq > /dev/null; then
echo "jq is not installed" echo "jq is not installed"
exit 1 exit 1

Loading…
Cancel
Save