fix(release): publish prereleases under the next npm tag

This commit is contained in:
morluto committed 2026-10-09 00:49:30 +08:00
1 parent 4b1066501b
commit bfb7776006
5 files changed
+36 -3

No files matched your search

+2 -1
View File
@@ -213,7 +213,8 @@ jobs:
if [ "${published_version}" = "\"${version}\"" ]; then
echo "rea-agents@${version} is already published; verifying the existing package."
else
npm publish --access public
tag="$(node scripts/release-npm-tag.mjs "${version}")"
npm publish --access public --tag "${tag}"
fi
- name: Verify published CLI from npm