diff options
author | 2017-01-02 18:07:22 -0800 | |
---|---|---|
committer | 2018-07-06 22:22:10 -0700 | |
commit | 96860a8921918b9b516afef1f322b7b059b58035 (patch) | |
tree | f92d15ffda30be1fc0be9bf2ae5ea45db337294c | |
parent | gkeys base.py: Remove the auto-update code from run() (diff) | |
download | gentoo-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-x | gkeys-ldap/bin/update-seeds.sh | 4 |
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}" |