Skip to content

sync: fix precedence of tag options#557

Merged
ecraig12345 merged 1 commit intomainfrom
ecraig/fix-sync-2
Nov 19, 2025
Merged

sync: fix precedence of tag options#557
ecraig12345 merged 1 commit intomainfrom
ecraig/fix-sync-2

Conversation

@ecraig12345
Copy link
Copy Markdown
Member

@ecraig12345 ecraig12345 commented Jul 20, 2021

We discovered in Fluent UI that the sync command was not respecting per-package tag options. Fix is in the helper function which fetches the versions, each package info's combinedOptions already contains the tag option with the appropriate order of precedence, so use that instead of overriding with the global option.

(Note: CLI --tag option overrides ALL other options, including per-package tag.)

Also make the tests use more realistic beachball options merging.

@ecraig12345 ecraig12345 requested a review from kenotron July 20, 2021 20:43
@ecraig12345 ecraig12345 merged commit 3d9fd4a into main Nov 19, 2025
8 checks passed
@ecraig12345 ecraig12345 deleted the ecraig/fix-sync-2 branch November 19, 2025 10:55
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