0.4.0
New Features
package_file_name
&package_variables
to allow dynamically named output files.rpmbuild
is now a toolchain allowing you better control using your own vs. the system one- Portions of the
pkg_filegroup
rule suite are available in@rules_pkg//:mappings.bzl
, but there are no packaging rules that use it at this time. Rules that use it will be added in 1.0.
Incompatible Changes
archive_name
is now deprecated. To be remove before 1.0
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_pkg",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.4.0/rules_pkg-0.4.0.tar.gz",
"https://github.com/bazelbuild/rules_pkg/releases/download/0.4.0/rules_pkg-0.4.0.tar.gz",
],
sha256 = "038f1caa773a7e35b3663865ffb003169c6a71dc995e39bf4815792f385d837d",
)
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
Using the rules
See the source and the examples.
Contributors
This release contains contributions and fixes from Andrew Psaltis, dmayle, Konstantin Erman, Martin Medler, Motiejus Jakštys, Thi Doãn, Thomas Gish, and Xavier Bonaventura.