qwen-code/packages/sdk-typescript/scripts
jinye 2c93fd670c
refactor: extract shared release helper utilities (#3834)
Move four duplicated utility functions (getArgs, readJson,
validateVersion, isExpectedMissingGitHubRelease) from the three
get-release-version.js scripts into a shared module at
scripts/lib/release-helpers.js so that changes only need to happen
in one place.

Also fixes a pre-existing bug in getArgs where argument values
containing '=' were silently truncated (e.g. --msg=a=b produced
{msg:'a'} instead of {msg:'a=b'}).

Closes #3795

🤖 Generated with [Qwen Code](https://github.com/QwenLM/qwen-code)

Co-authored-by: jinye.djy <jinye.djy@alibaba-inc.com>
2026-05-05 10:15:17 +08:00
..
build.js refactor(sdk,vscode): extract CLI bundling to dedicated script 2026-01-24 11:35:33 +08:00
bundle-cli-from-npm.js ci(sdk-release): fix CLI package path handling 2026-02-05 22:06:08 +08:00
bundle-cli.js refactor(sdk,vscode): extract CLI bundling to dedicated script 2026-01-24 11:35:33 +08:00
get-release-version.js refactor: extract shared release helper utilities (#3834) 2026-05-05 10:15:17 +08:00