From fa6849b1b8af21c70fe32bad6670b9fb5a6dfcb5 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Fri, 10 Jul 2026 10:05:33 +0200 Subject: [PATCH] fix(ci): scope headless experimental `yarn change` to the headless beachball config Unscoped `yarn change --type prerelease` tries to create change files for every package changed vs master (the whole feature branch) and aborts on packages that disallow `prerelease` (e.g. @fluentui/react-charts), producing zero change files -> beachball publish reports 'Nothing to bump, skipping publish!'. Scoping to release-headless.config.js limits change-file generation to the headless package only. --- azure-pipelines.release-headless-experimental.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.release-headless-experimental.yml b/azure-pipelines.release-headless-experimental.yml index 3a7b6da04ea35..2d10fc726c74a 100644 --- a/azure-pipelines.release-headless-experimental.yml +++ b/azure-pipelines.release-headless-experimental.yml @@ -99,7 +99,11 @@ extends: yarn nx g @fluentui/workspace-plugin:version-bump --name react-headless-components-preview --explicitVersion "${NEW_VERSION}" git add . git commit -m "bump experimental headless versions to ${NEW_VERSION}" - yarn change --type prerelease --message "Release ${NEW_VERSION}" --dependent-change-type "prerelease" + # Scope change-file generation to the headless beachball config. Without --config, + # `yarn change` tries to create change files for EVERY package changed vs master + # (the whole feature branch), and aborts on packages that disallow `prerelease` - + # producing zero change files and a "Nothing to bump, skipping publish!". + yarn change --config scripts/beachball/src/release-headless.config.js --type prerelease --message "Release ${NEW_VERSION}" --dependent-change-type "prerelease" displayName: 'Bump and commit experimental headless versions' - script: |