mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-27 09:21:35 +07:00
build: tag correction npm publishes as latest
This commit is contained in:
@@ -16,6 +16,8 @@ release_channel="stable"
|
||||
if [[ "${package_version}" == *-beta.* ]]; then
|
||||
publish_cmd=(npm publish --access public --tag beta --provenance)
|
||||
release_channel="beta"
|
||||
elif [[ "${package_version}" == *-* ]]; then
|
||||
publish_cmd=(npm publish --access public --tag latest --provenance)
|
||||
fi
|
||||
|
||||
echo "Resolved package version: ${package_version}"
|
||||
|
||||
@@ -23,6 +23,8 @@ release_channel="stable"
|
||||
if [[ "${package_version}" == *-beta.* ]]; then
|
||||
publish_cmd=(npm publish --access public --tag beta --provenance)
|
||||
release_channel="beta"
|
||||
elif [[ "${package_version}" == *-* ]]; then
|
||||
publish_cmd=(npm publish --access public --tag latest --provenance)
|
||||
fi
|
||||
|
||||
echo "Resolved package dir: ${package_dir}"
|
||||
|
||||
Reference in New Issue
Block a user