You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2021/07/27 17:16:38 UTC
[sling-aggregator] branch master updated: SLING-10676 - script to
add SECURITY.md
This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-aggregator.git
The following commit(s) were added to refs/heads/master by this push:
new bade8f8 SLING-10676 - script to add SECURITY.md
bade8f8 is described below
commit bade8f808d2eea070b93004020c16cb364561e83
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Tue Jul 27 19:16:26 2021 +0200
SLING-10676 - script to add SECURITY.md
---
add-security-md.sh | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/add-security-md.sh b/add-security-md.sh
new file mode 100755
index 0000000..c8d30ff
--- /dev/null
+++ b/add-security-md.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# Run this with
+#
+# repo forall -v -c bash <full-path-to>/aggregator/add-security-md.sh
+#
+# to add or update the SECURITY.md file from the
+# "aggregator" project to all repositories found
+# under it.
+
+SEC=SECURITY.md
+git checkout master
+git pull origin master
+cat ../aggregator/$SEC > $SEC
+git add $SEC
+git commit -m "SLING-10676 - add or update $SEC"
+git push origin master
\ No newline at end of file