This repo hosts the community-driven TTPs that Meta's TTPForge can consume.
-
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
-
Install and use asdf plugins to manage go, python, and ruby for this project:
source .asdf
Alternatively, you can pick and choose which plugins to install:
# Employ asdf for this project's python: source .asdf python
-
python3 -m pip install --upgrade pip python3 -m pip install pre-commit
-
go install github.com/magefile/mage@latest
-
Install dependencies:
mage installDeps
-
Update and run pre-commit hooks locally:
mage runPreCommit
This requires the GitHub CLI and gh-changelog GitHub CLI extension.
Install changelog extension:
gh extension install chelnak/gh-changelog
Generate changelog:
NEXT_VERSION=v1.1.3
gh changelog new --next-version "${NEXT_VERSION}"
Create release:
gh release create "${NEXT_VERSION}" -F CHANGELOG.md