File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,36 @@ just release-dry-run
5454
5555### Updating ATT&CK Version Metadata
5656
57- If releasing for a new ATT&CK version, update ` LATEST_VERSION ` in ` mitreattack/release_info.py ` before merging.
57+ If releasing for a new ATT&CK version, update ` mitreattack/release_info.py ` after the corresponding STIX releases are published:
58+
59+ - STIX 2.0 hashes come from ` mitre/cti `
60+ - STIX 2.1 hashes come from ` mitre-attack/attack-stix-data `
61+
62+ Preview the update first:
63+
64+ ``` bash
65+ uv run --extra dev python scripts/update_release_info.py 19.1 --dry-run
66+ ```
67+
68+ Apply it:
69+
70+ ``` bash
71+ uv run --extra dev python scripts/update_release_info.py 19.1
72+ ```
73+
74+ The updater refreshes:
75+
76+ - ` LATEST_VERSION `
77+ - ` STIX20["enterprise"] ` , ` STIX20["mobile"] ` , ` STIX20["ics"] `
78+ - ` STIX21["enterprise"] ` , ` STIX21["mobile"] ` , ` STIX21["ics"] `
79+
80+ Then verify:
81+
82+ ``` bash
83+ uv run --extra dev ruff check scripts/update_release_info.py tests/test_release_info_updater.py mitreattack/release_info.py
84+ ```
85+
86+ The GitHub release assets must exist before running the updater, so this step belongs after publishing and tagging ` mitre/cti ` and ` attack-stix-data ` .
5887
5988## Notes
6089
You can’t perform that action at this time.
0 commit comments