[FR] Add deprecated file to release for upstream testing (#5749)
This commit is contained in:
committed by
GitHub
parent
6a7c1e9674
commit
a1c3267529
@@ -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
@@ -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 Security’s Detection Engine."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
||||
Reference in New Issue
Block a user