diff options
Diffstat (limited to 'pkg/releasing/defs.bzl')
-rw-r--r-- | pkg/releasing/defs.bzl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/releasing/defs.bzl b/pkg/releasing/defs.bzl index 9f381a6..52f3cd4 100644 --- a/pkg/releasing/defs.bzl +++ b/pkg/releasing/defs.bzl @@ -1,5 +1,6 @@ -"""Impementation for print_rel_notes.""" +"""Implementation for print_rel_notes.""" +# buildifier: disable=function-docstring def print_rel_notes( name, repo, @@ -14,6 +15,7 @@ def print_rel_notes( mirror_host = None): if not artifact_name: artifact_name = ":%s-%s.tar.gz" % (repo, version) + # Must use Label to get a path relative to the rules_pkg repository, # instead of the calling BUILD file. print_rel_notes_helper = Label("//pkg/releasing:print_rel_notes") @@ -33,6 +35,7 @@ def print_rel_notes( cmd.append("--toolchains_method=%s" % toolchains_method) if changelog: cmd.append("--changelog=$(location %s)" % changelog) + # We should depend on a changelog as a tool so that it is always built # for the host configuration. If the changelog is generated on the fly, # then we would have to run commands against our revision control |