Skip to content

Add a plus sign to the output_groups option#707

Merged
thesayyn merged 1 commit into
bazel-contrib:mainfrom
lexspoon:patch-1
Oct 15, 2024
Merged

Add a plus sign to the output_groups option#707
thesayyn merged 1 commit into
bazel-contrib:mainfrom
lexspoon:patch-1

Conversation

@lexspoon

@lexspoon lexspoon commented Oct 1, 2024

Copy link
Copy Markdown
Contributor

For people upgrading from earlier versions of rules_oci, it works out better to use +tarball than tarball. With the docs as currently written, without the plus sign, it will break for anyone using an earlier version of rules_oci. Adding the plus makes it work with either older or newer versions of rules_oci, which is convenient for people who are upgrading incrementally.

It's probably a good habit, anyway, to use the plus. When you want an extra output group to a build, you usually don't want to cancel all the output groups you don't know about. You just want to add the one new one that you do care about.

@thesayyn
thesayyn merged commit 60d3876 into bazel-contrib:main Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants