1 |
commit: 96860a8921918b9b516afef1f322b7b059b58035 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 3 02:07:22 2017 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 7 05:22:10 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoo-keys.git/commit/?id=96860a89 |
7 |
|
8 |
gkeys-ldap update-seeds.sh: Add -S option to git commits to ensure they are gpg signed |
9 |
|
10 |
This way if the git config is not set to enforce signing, this will ensure it is signed. |
11 |
|
12 |
gkeys-ldap/bin/update-seeds.sh | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/gkeys-ldap/bin/update-seeds.sh b/gkeys-ldap/bin/update-seeds.sh |
16 |
index ed44df7..d241cda 100755 |
17 |
--- a/gkeys-ldap/bin/update-seeds.sh |
18 |
+++ b/gkeys-ldap/bin/update-seeds.sh |
19 |
@@ -63,7 +63,7 @@ echo "Committing changes to gkey-seeds repo..." |
20 |
cd ${GKEY_SEEDS_DIR} |
21 |
git add ${GKEY_SEEDS} || die " *** Failed to add modified ${GKEYS_SEEDS} file" |
22 |
git add ${GKEY_SEEDS}.${GKEYS_SIG} || die " *** Failed to add ${GKEYS_SEEDS}.sig file" |
23 |
-git commit -m "${GKEYS_COMMIT_MSG}" || die " *** Failed to commit updates" |
24 |
+git commit -S -m"${GKEYS_COMMIT_MSG}" || die " *** Failed to commit updates" |
25 |
git push --signed origin master || die " *** git push failed" |
26 |
cd .. |
27 |
|
28 |
@@ -73,7 +73,7 @@ cp ${GKEY_SEEDS_DIR}/${GKEY_SEEDS}.${GKEYS_SIG} ${API_DIR}/${API_SEEDS}.${GKEYS_ |
29 |
cd ${API_DIR} |
30 |
git add ${API_SEEDS} || die " *** Failed to add modified ${GKEYS_SEEDS} file" |
31 |
git add ${API_SEEDS}.${GKEYS_SIG} || die " *** Failed to add ${GKEYS_SEEDS}.sig file" |
32 |
-git commit -m "${GKEYS_COMMIT_MSG}" || die " *** Failed to commit updates" |
33 |
+git commit -S -m "${GKEYS_COMMIT_MSG}" || die " *** Failed to commit updates" |
34 |
git push --signed origin master || die " *** git push failed" |
35 |
|
36 |
echo "Pushing the log file to ${LOG_UPLOAD_URL}" |