mirror of
https://github.com/mandiant/capa.git
synced 2025-12-29 14:13:36 -08:00
* doc: add rules documentation * version: add accessor for capa major version and git checkout command * doc: rules: document version output * doc: rules: show example error due to mismatched rule version * doc: rules: update links * ci: tag major rule version test * ci: tag major rule version * doc: update changelog * ci: force to replace tag if exists * ci: simplify tagging step * Update doc/rules.md * feat: disable tag, show error branch cmd * doc: update major version rules branch * Apply suggestions from code review Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com> * Update capa/main.py * black Co-authored-by: Moritz Raabe <moritz.raabe@mandiant.com> Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
2.7 KiB
2.7 KiB
Release checklist
- Ensure all milestoned issues/PRs are addressed, or reassign to a new milestone.
- Add the
dont mergelabel to all PRs that are close to be ready to merge (or merge them if they are ready) in capa and capa-rules. - Ensure the CI workflow succeeds in master.
- Ensure that
python scripts/lint.py rules/ --thoroughsucceeds (onlymissing examplesoffenses are allowed in the nursery). - Review changes
- capa https://github.com/mandiant/capa/compare/<last-release>...master
- capa-rules https://github.com/mandiant/capa-rules/compare/<last-release>...master
- Update CHANGELOG.md
- Do not forget to add a nice introduction thanking contributors
- Remember that we need a major release if we introduce breaking changes
- Sections: see template below
- Update
Raw diffslinks - Create placeholder for
master (unreleased)section## master (unreleased) ### New Features ### Breaking Changes ### New Rules (0) - ### Bug Fixes ### capa explorer IDA Pro plugin ### Development ### Raw diffs - [capa <release>...master](https://github.com/mandiant/capa/compare/<release>...master) - [capa-rules <release>...master](https://github.com/mandiant/capa-rules/compare/<release>...master)
- Update capa/version.py
- Create a PR with the updated CHANGELOG.md and capa/version.py. Copy this checklist in the PR description.
- After PR review, merge the PR and create the release in GH using text from the CHANGELOG.md.
- Verify GH actions upload artifacts, publish to PyPI and create a tag in capa rules upon completion.
- Manually update capa rules major version rule branch
[capa/rules] $ git pull master [capa/rules] $ git checkout v3 # create if new major version: git checkout -b vX [capa/rules] $ git merge master [capa/rules] $ git push origin v3 - Spread the word
- Update internal service