Skip to content

Commit a9c69b6

Browse files
iclantonclaude
andauthored
[npm-post-publish] Update plugins autoinstaller lockfile before rush update (#5763)
The bump-decoupled-local-dependencies step can update the plugins autoinstaller's package.json, causing rush update to fail with ERR_PNPM_OUTDATED_LOCKFILE because the lockfile is stale. Fix by running rush update-autoinstaller --name plugins first. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2971ae6 commit a9c69b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

common/config/azure-pipelines/npm-post-publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ extends:
136136
137137
- template: /common/config/azure-pipelines/templates/install-run-rush.yaml@self
138138
parameters:
139-
Arguments: 'update'
140-
DisplayName: 'Rush Update'
139+
Arguments: 'update-autoinstaller --name plugins'
140+
DisplayName: 'Rush Update Autoinstaller (plugins)'
141141

142142
- template: /common/config/azure-pipelines/templates/install-run-rush.yaml@self
143143
parameters:
144-
Arguments: 'update-autoinstaller --name plugins'
145-
DisplayName: 'Rush Update Autoinstaller (plugins)'
144+
Arguments: 'update'
145+
DisplayName: 'Rush Update'
146146

147147
- bash: |
148148
set -e

0 commit comments

Comments
 (0)