update package versions with release action when explicit version passed (#6767)

* update package versions when explicit version passed

* note
This commit is contained in:
Matt Fiddaman
2026-01-24 15:30:17 +00:00
committed by GitHub
parent e0ed53c4af
commit d768cfa508
3 changed files with 28 additions and 10 deletions

View File

@@ -35,7 +35,10 @@ jobs:
pkg="${packages[$key]}"
if [[ -n "${{ github.event.inputs.version }}" ]]; then
version="${{ github.event.inputs.version }}"
version=$(node ./packages/ci-actions/bin/get-next-package-version.js \
--package-json "./packages/$pkg/package.json" \
--version "${{ github.event.inputs.version }}" \
--update)
else
version=$(node ./packages/ci-actions/bin/get-next-package-version.js \
--package-json "./packages/$pkg/package.json" \