1.4 KiB
Development Guide
Add support for new tool
(Example: 2ba826d)
1. Add base manifest to tools/codegen/base directory.
See JSON files in tools/codegen/base directory for examples of the manifest.
2. Generate manifest with the following command (replace <tool> with the tool name).
./tools/manifest.sh <tool>
3. Add tool name to test matrix in .github/workflows/ci.yml.
4. Add tool name to table in "Supported tools" section in README.md.
Release new version
Note: This is a guide for maintainers.
Minor version vs patch version
Increase the patch version if only the following changes are included.
-
Update the
@latestversion of the tool.Rationale: Normally, tool versions are controlled by the
@<version>syntax, which is explicitly separated from the versioning of the install-action itself.Exception: If the major or minor version of the
cargo-binstallis updated, the minor version should be increased because the behavior of the fallback may change slightly. -
Fix regressions or minor bugs.
Rationale: Semantic Versioning.
-
Improve documentation or diagnostics.
Rationale: Semantic Versioning.
Increase the minor version otherwise.
Release instructions
TODO: current release script assumes admin permissions