# bazelbuild/rules_pkg

Bazel rules for building tar, zip, deb, and rpm packages.

Use rules-pkg-discuss@googlegroups.com for discussion.

*   [Examples](https://github.com/bazelbuild/rules_pkg/tree/main/examples) -
    Cookbook examples for using the rules.

## Reference

We are in the process of migrating from hand-written docs to generated ones.
Some rules are fully documented in their definitions, and will have complete
documentation in the Latest or versioned snapshots. Some rules still have
attributes only defined in the "Legacy" documentation. You may have to
consult more than one place to get a complete picture.

*   [Latest Snapshot at head](latest.md)
*   [Version 0.8.0](0.8.0/reference.md)
*   [Version 0.7.0](0.7.0/reference.md)
*   [Version 0.6.0](0.6.0/reference.md)
*   [Version 0.5.0](0.5.0/reference.md)
*   [Version 0.4.0](0.4.0/reference.md)
*   [Legacy](https://github.com/bazelbuild/rules_pkg/blob/main/pkg/docs/reference.md)
