Skip to content

0.5.1

Compare
Choose a tag to compare
@aiuto aiuto released this 18 Aug 15:54
· 273 commits to main since this release
b83be9c

This is a patch release to 0.5.0.

New features

  • Add pkg_deb(architecture_file) to provide a way to set the Debian package architecture from the content of a file created at
    build time. (#390)
  • Provide pkg_install for a "make install"-like experience in Bazel (#380)
    • Note: This feature is still in development. Read the PR for more information.
  • Initial support for the pkg_filegroup framework in pkg_zip (#373)

Closed bugs

  • Change the Debian example to reflect standard Debian naming. (#389)
  • pkg_tar(include_runfiles) now works again (#392)
  • internal code cleanup

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.5.1/rules_pkg-0.5.1.tar.gz",
        "https://github.com/bazelbuild/rules_pkg/releases/download/0.5.1/rules_pkg-0.5.1.tar.gz",
    ],
    sha256 = "a89e203d3cf264e564fcb96b6e06dd70bc0557356eb48400ce4b5d97c2c3720d",
)
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()

Using the rules