summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/cargo_publish.py (renamed from tools/cargo_publish_others.py)8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/cargo_publish_others.py b/tools/cargo_publish.py
index 83b9b50e2..b8fa1f037 100755
--- a/tools/cargo_publish_others.py
+++ b/tools/cargo_publish.py
@@ -1,7 +1,4 @@
#!/usr/bin/env python
-# Publishes 'deno_cli', 'deno_cli_snapshots', and 'deno_typescript' crates.
-# DOES NOT PUBLISH 'deno' crate see tools/cargo_package.py for that.
-
import os
import sys
import argparse
@@ -17,11 +14,12 @@ def main():
if args.dry_run:
cargo_publish += ["--dry-run"]
- # Publish the deno_typescript crate.
+ os.chdir(os.path.join(root_path, "core"))
+ run(cargo_publish)
+
os.chdir(os.path.join(root_path, "deno_typescript"))
run(cargo_publish)
- # Publish the deno_cli crate.
os.chdir(os.path.join(root_path, "cli"))
run(cargo_publish)