Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Dont fail

Jakub Novakacd3eee209dd
diff --git a/packages/js-sdk/scripts/post-publish.sh b/packages/js-sdk/scripts/post-publish.sh
index 68ae4ae60..3c863ed77 100755
--- a/packages/js-sdk/scripts/post-publish.sh
+++ b/packages/js-sdk/scripts/post-publish.sh
@@ -1,7 +1,6 @@
#!/usr/bin/env bash
-set -euo pipefail
npm pkg set 'name'='@e2b/sdk'
npm publish --no-git-checks
npm pkg set 'name'='e2b'
-npm deprecate "@e2b/sdk@$(npm pkg get version | tr -d \")" 'The package "@e2b/sdk" has been renamed to "e2b". Please uninstall the old one and install the new "npm uninstall @e2b/sdk && npm install e2b".' || true
+npm deprecate "@e2b/sdk@$(npm pkg get version | tr -d \")" "The package @e2b/sdk has been renamed to e2b. Please uninstall the old one and install the new by running following command: npm uninstall @e2b/sdk && npm install e2b"