Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit b045f78

Browse files
committed
chore: remove python from release
1 parent 9e4ec66 commit b045f78

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

scripts/release.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async function main() {
1414
const version = getVersionFromArgs();
1515
await bumpPackageVersions(version);
1616
await updateRustClientVersion(version);
17-
await updatePythonClientVersion(version);
17+
// await updatePythonClientVersion(version);
1818

1919
// IMPORTANT: Do this after bumping the version
2020
// Check & build
@@ -79,23 +79,23 @@ async function updateRustClientVersion(version: string) {
7979
}
8080
}
8181

82-
async function updatePythonClientVersion(version: string) {
83-
console.log(chalk.blue(`Updating Python client version to ${version}...`));
84-
const pyprojectTomlPath = "clients/python/pyproject.toml";
85-
const pyCargoTomlPath = "clients/python/Cargo.toml";
86-
87-
try {
88-
// Replace version in pyproject.toml and Cargo.toml
89-
await $`sed -i.bak -e 's/^version = ".*"/version = "${version}"/' ${pyprojectTomlPath}`;
90-
await $`sed -i.bak -e 's/^version = ".*"/version = "${version}"/' ${pyCargoTomlPath}`;
91-
await $`rm ${pyprojectTomlPath}.bak`;
92-
await $`rm ${pyCargoTomlPath}.bak`;
93-
console.log(chalk.green("✅ Updated Python client version"));
94-
} catch (err) {
95-
console.error(chalk.red("❌ Failed to update Python client version"), err);
96-
process.exit(1);
97-
}
98-
}
82+
// async function updatePythonClientVersion(version: string) {
83+
// console.log(chalk.blue(`Updating Python client version to ${version}...`));
84+
// const pyprojectTomlPath = "clients/python/pyproject.toml";
85+
// const pyCargoTomlPath = "clients/python/Cargo.toml";
86+
87+
// try {
88+
// // Replace version in pyproject.toml and Cargo.toml
89+
// await $`sed -i.bak -e 's/^version = ".*"/version = "${version}"/' ${pyprojectTomlPath}`;
90+
// await $`sed -i.bak -e 's/^version = ".*"/version = "${version}"/' ${pyCargoTomlPath}`;
91+
// await $`rm ${pyprojectTomlPath}.bak`;
92+
// await $`rm ${pyCargoTomlPath}.bak`;
93+
// console.log(chalk.green("✅ Updated Python client version"));
94+
// } catch (err) {
95+
// console.error(chalk.red("❌ Failed to update Python client version"), err);
96+
// process.exit(1);
97+
// }
98+
// }
9999

100100
async function runRustCheck() {
101101
console.log(chalk.blue("Running cargo check for Rust client..."));

0 commit comments

Comments
 (0)