[FR] Add deprecated file to release for upstream testing (#5749)

(cherry picked from commit a1c3267529)
This commit is contained in:
Mika Ayenson, PhD
2026-02-20 14:16:27 -06:00
committed by tradebot-elastic
parent 572c7405d7
commit 0fcd2f82ad
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -501,6 +501,9 @@ class Package:
readme_file.write_text(readme_text)
notice_file.write_text(notice_contents)
deprecated_rules_file = package_dir / "deprecated_rules.json"
shutil.copyfile(get_etc_path(["deprecated_rules.json"]), deprecated_rules_file)
def create_bulk_index_body(self) -> tuple[Ndjson, Ndjson]:
"""Create a body to bulk index into a stack."""
package_hash = self.get_package_hash(verbose=False)
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "detection_rules"
version = "1.5.45"
version = "1.5.46"
description = "Detection Rules is the home for rules used by Elastic Security. This repository is used for the development, maintenance, testing, validation, and release of rules for Elastic Securitys Detection Engine."
readme = "README.md"
requires-python = ">=3.12"