[ci] Fix incorrect filtering logic for prereleases (#34725)

The workflow was correctly publishing the package(s) specified in
`only`, but due to incorrect logic it would also run the 'Publish all
packages' step.
This commit is contained in:
lauren
2025-10-03 16:37:55 -04:00
committed by GitHub
parent 4fdf7cf249
commit bc2356176b

View File

@@ -93,7 +93,7 @@ jobs:
--tags=${{ inputs.dist_tag }} \
--skipPackages=${{ inputs.skip_packages }} ${{ (inputs.dry && '') || '\'}}
${{ inputs.dry && '--dry' || '' }}
- if: '${{ !(inputs.skip_packages && inputs.only_packages) }}'
- if: '${{ !inputs.skip_packages && !inputs.only_packages }}'
name: 'Publish all packages'
run: |
scripts/release/publish.js \