@@ -33,7 +33,7 @@ async function main() {
3333 // Publish
3434 await publishPackages ( publicPackages , version ) ;
3535 await publishRustClient ( version ) ;
36- await publishPythonClient ( version ) ;
36+ // await publishPythonClient(version); // TODO: Add back
3737
3838 // Create GitHub release
3939 await createAndPushTag ( version ) ;
@@ -101,25 +101,14 @@ async function updatePythonClientVersion(version: string) {
101101async function runRustCheck ( ) {
102102 console . log ( chalk . blue ( "Running cargo check for Rust client..." ) ) ;
103103 try {
104- await $ `cd clients/rust && cargo check` ;
104+ await $ `cargo check` ;
105105 console . log ( chalk . green ( "✅ Rust client check passed" ) ) ;
106106 } catch ( err ) {
107107 console . error ( chalk . red ( "❌ Rust client check failed" ) , err ) ;
108108 process . exit ( 1 ) ;
109109 }
110110}
111111
112- async function runPythonCheck ( ) {
113- console . log ( chalk . blue ( "Running cargo check for Python client..." ) ) ;
114- try {
115- await $ `cd clients/python && cargo check` ;
116- console . log ( chalk . green ( "✅ Python client check passed" ) ) ;
117- } catch ( err ) {
118- console . error ( chalk . red ( "❌ Python client check failed" ) , err ) ;
119- process . exit ( 1 ) ;
120- }
121- }
122-
123112async function cleanWorkspace ( ) {
124113 console . log ( chalk . blue ( "Cleaning workspace..." ) ) ;
125114 try {
@@ -282,6 +271,12 @@ async function checkPythonEnvironment() {
282271 process . exit ( 1 ) ;
283272 }
284273
274+ // Check if PYPI_TOKEN exists
275+ if ( ! process . env [ "PYPI_TOKEN" ] ) {
276+ console . error ( chalk . red ( "❌ Missing PyPi credentials (PYPI_TOKEN env var)" ) ) ;
277+ process . exit ( 1 ) ;
278+ }
279+
285280 console . log ( chalk . green ( "✅ Python environment is good" ) ) ;
286281}
287282
0 commit comments