Skip to content

Commit

Permalink
fix: merge user tags in stardoc_with_diff_test (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Feb 6, 2024
1 parent fca58db commit 27e3b10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ stardoc_with_diff_test(
stardoc_with_diff_test(
name = "docs",
bzl_library_target = "//lib:docs",
tags = ["some_random_tag_for_testing_pr746_regression"],
)

stardoc_with_diff_test(
Expand Down
2 changes: 1 addition & 1 deletion lib/private/docs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def stardoc_with_diff_test(
out = name + "-docgen.md",
input = bzl_library_target + ".bzl",
deps = [bzl_library_target],
tags = ["package:" + native.package_name()], # Tag the package name which will help us reconstruct the write_source_files label in update_docs
tags = kwargs.pop("tags", []) + ["package:" + native.package_name()], # Tag the package name which will help us reconstruct the write_source_files label in update_docs
target_compatible_with = target_compatible_with,
**kwargs
)
Expand Down

0 comments on commit 27e3b10

Please sign in to comment.