0.7.0
Release 0.7.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.7.0/rules_pkg-0.7.0.tar.gz",
"https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz",
],
sha256 = "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2",
)
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
New Features
- Make the .bzl files available as input to a bzl_library (#567)
- Allow pkg_files.strip_prefix to work on tree artifact without having to use
renames
. - Add @rules_license style license declarations (#508)
- Better looking documentation
- Add
artifact_name
toprint_relnotes
(#541) - pkg_{deb,rpm,tar,zip} are now available via individual .bzl files, so you
only need to load what you actually need. - Add tree artifact support to pkg_zip (#537)
- symlink support to pkg_zip (#499)
Potentially breaking changes
- Get rid of the long deprecated archive_name and extension from pkg_zip. (#552)
Bug fixes:
- Only allow .deb Description to be multiline. (#573)
Fixes: #572 - Fix pkg_tar to not add the ./ to the prefix of every member. (#554). Closes: #531
- Stop stripping tree artifact root name in pkg_tar and pkg_zip. (#555). Closes #404
- Fix RPM source date epoch for rpmbuild 4.17+ (#529)
Contributors
Thanks to: Andrew Psaltis, Gunnar Wagenknecht, and Sven Mueller for contributions to this release.