升级 SpacetimeDB 到 2.4.1
更新 server-rs SpacetimeDB crate 锁定版本与 Cargo.lock。 刷新 spacetime-client 生成绑定到 2.4.1。 同步 dev 脚本、容器、Jenkins 和运维文档中的 STDB 版本。 补充 dev 脚本版本校验测试,兼容 Cargo 精确版本要求。
This commit is contained in:
@@ -408,7 +408,11 @@ function readWorkspaceSpacetimeVersion() {
|
||||
if (!version) {
|
||||
throw new Error('无法从 server-rs/Cargo.toml 读取 spacetimedb 版本');
|
||||
}
|
||||
return version;
|
||||
return normalizeCargoVersionRequirement(version);
|
||||
}
|
||||
|
||||
function normalizeCargoVersionRequirement(version) {
|
||||
return version.replace(/^=/u, '');
|
||||
}
|
||||
|
||||
function parseSpacetimeToolVersion(output) {
|
||||
@@ -2130,6 +2134,7 @@ export {
|
||||
createWatchConfigs,
|
||||
isSpacetimePublishPermissionError,
|
||||
isDirectModuleExecution,
|
||||
normalizeCargoVersionRequirement,
|
||||
parseSpacetimeToolVersion,
|
||||
parseArgs,
|
||||
resolveDevStackStatePath,
|
||||
|
||||
Reference in New Issue
Block a user