Skip to content

0.7.0

Compare
Choose a tag to compare
@aiuto aiuto released this 07 Apr 20:19
· 197 commits to main since this release
4f8f6ed

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 to print_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)
    • Make 'out' work in a reasonable way. Fixes #414
    • Partial fix for #284

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.