aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-01-02 18:07:22 -0800
committerBrian Dolbec <dolsen@gentoo.org>2018-07-06 22:22:10 -0700
commit96860a8921918b9b516afef1f322b7b059b58035 (patch)
treef92d15ffda30be1fc0be9bf2ae5ea45db337294c
parentgkeys base.py: Remove the auto-update code from run() (diff)
downloadgentoo-keys-96860a8921918b9b516afef1f322b7b059b58035.tar.gz
gentoo-keys-96860a8921918b9b516afef1f322b7b059b58035.tar.bz2
gentoo-keys-96860a8921918b9b516afef1f322b7b059b58035.zip
gkeys-ldap update-seeds.sh: Add -S option to git commits to ensure they are gpg signed
This way if the git config is not set to enforce signing, this will ensure it is signed.
-rwxr-xr-xgkeys-ldap/bin/update-seeds.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gkeys-ldap/bin/update-seeds.sh b/gkeys-ldap/bin/update-seeds.sh
index ed44df7..d241cda 100755
--- a/gkeys-ldap/bin/update-seeds.sh
+++ b/gkeys-ldap/bin/update-seeds.sh
@@ -63,7 +63,7 @@ echo "Committing changes to gkey-seeds repo..."
cd ${GKEY_SEEDS_DIR}
git add ${GKEY_SEEDS} || die " *** Failed to add modified ${GKEYS_SEEDS} file"
git add ${GKEY_SEEDS}.${GKEYS_SIG} || die " *** Failed to add ${GKEYS_SEEDS}.sig file"
-git commit -m "${GKEYS_COMMIT_MSG}" || die " *** Failed to commit updates"
+git commit -S -m"${GKEYS_COMMIT_MSG}" || die " *** Failed to commit updates"
git push --signed origin master || die " *** git push failed"
cd ..
@@ -73,7 +73,7 @@ cp ${GKEY_SEEDS_DIR}/${GKEY_SEEDS}.${GKEYS_SIG} ${API_DIR}/${API_SEEDS}.${GKEYS_
cd ${API_DIR}
git add ${API_SEEDS} || die " *** Failed to add modified ${GKEYS_SEEDS} file"
git add ${API_SEEDS}.${GKEYS_SIG} || die " *** Failed to add ${GKEYS_SEEDS}.sig file"
-git commit -m "${GKEYS_COMMIT_MSG}" || die " *** Failed to commit updates"
+git commit -S -m "${GKEYS_COMMIT_MSG}" || die " *** Failed to commit updates"
git push --signed origin master || die " *** git push failed"
echo "Pushing the log file to ${LOG_UPLOAD_URL}"