mirror of https://github.com/openclaw/openclaw.git
build: tag correction npm publishes as latest
This commit is contained in:
parent
00d586b2ce
commit
5cb8e33a31
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue