2021-11-19 13:56:30 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
# shellcheck source=scripts/common.sh
|
|
|
|
source "${REPO_ROOT}/scripts/common.sh"
|
|
|
|
|
|
|
|
SOLTMPDIR=$(mktemp -d)
|
2023-06-01 16:44:23 +00:00
|
|
|
|
2021-11-19 13:56:30 +00:00
|
|
|
cp "${REPO_ROOT}/docs/bugs_by_version.json" "${SOLTMPDIR}/original_bugs_by_version.json"
|
|
|
|
"${REPO_ROOT}/scripts/update_bugs_by_version.py"
|
2023-06-01 16:44:23 +00:00
|
|
|
|
2021-11-19 13:56:30 +00:00
|
|
|
diff --unified "${SOLTMPDIR}/original_bugs_by_version.json" "${REPO_ROOT}/docs/bugs_by_version.json" || \
|
|
|
|
fail "The bug list in bugs_by_version.json was out of date and has been updated. Please investigate and submit a bugfix if necessary."
|
2023-06-01 16:44:23 +00:00
|
|
|
|
2021-11-19 13:56:30 +00:00
|
|
|
rm -r "$SOLTMPDIR"
|