You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2021/10/04 09:23:57 UTC
svn commit: r1893874 - /httpd/dev-tools/release/r4-stage-release.sh
Author: icing
Date: Mon Oct 4 09:23:57 2021
New Revision: 1893874
URL: http://svn.apache.org/viewvc?rev=1893874&view=rev
Log:
* using indent 2 spaces for changes json
Modified:
httpd/dev-tools/release/r4-stage-release.sh
Modified: httpd/dev-tools/release/r4-stage-release.sh
URL: http://svn.apache.org/viewvc/httpd/dev-tools/release/r4-stage-release.sh?rev=1893874&r1=1893873&r2=1893874&view=diff
==============================================================================
--- httpd/dev-tools/release/r4-stage-release.sh (original)
+++ httpd/dev-tools/release/r4-stage-release.sh Mon Oct 4 09:23:57 2021
@@ -152,7 +152,7 @@ if test -n "${CVE_DIRS}"; then
echo "adding ${CVE_ID}"
# add a timeline entry for the release and copy to website
rm -f "${CVE_JSON}".tmp
- jq '.timeline[.timeline|length] |= . + '"${TIMELINE_ENTRY}" "${CVE_JSON}" > "${CVE_JSON}".tmp
+ jq --indent 2 '.timeline[.timeline|length] |= . + '"${TIMELINE_ENTRY}" "${CVE_JSON}" > "${CVE_JSON}".tmp
mv "${CVE_JSON}".tmp "${CVE_JSON}"
cp "${CVE_JSON}" "${DIST_SITEPATH}"/content/security/json/${CVE_ID}.json
done