diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2020-01-24 14:24:27 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-24 14:24:27 -0500 |
| commit | 3059558d41690bb0bc70abd65ac42577019a8072 (patch) | |
| tree | 8c814e46a73f0ea54fdb5c26e886b487f137bab0 /tools | |
| parent | 950537e8ef6e54c409a7fcafa0b087e68988d9ef (diff) | |
fix cargo-publish-on-tag (#3781)
Also rename the "test" CI worker to "test_release"
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/cargo_publish.py | 28 | ||||
| -rwxr-xr-x | tools/upload_docs.py | 2 |
2 files changed, 1 insertions, 29 deletions
diff --git a/tools/cargo_publish.py b/tools/cargo_publish.py deleted file mode 100755 index b8fa1f037..000000000 --- a/tools/cargo_publish.py +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env python -import os -import sys -import argparse -from util import run, root_path - - -def main(): - parser = argparse.ArgumentParser() - parser.add_argument("--dry-run", action="store_true") - args = parser.parse_args() - - cargo_publish = ["cargo", "publish"] - if args.dry_run: - cargo_publish += ["--dry-run"] - - os.chdir(os.path.join(root_path, "core")) - run(cargo_publish) - - os.chdir(os.path.join(root_path, "deno_typescript")) - run(cargo_publish) - - os.chdir(os.path.join(root_path, "cli")) - run(cargo_publish) - - -if __name__ == '__main__': - sys.exit(main()) diff --git a/tools/upload_docs.py b/tools/upload_docs.py index b37ab4e96..70605dd4a 100755 --- a/tools/upload_docs.py +++ b/tools/upload_docs.py @@ -9,5 +9,5 @@ run([sys.executable, "tools/docs.py"]) os.chdir("target") run([ "aws", "s3", "sync", "--include=typedoc", "--exclude=debug/*", - "--exclude=release/*", ".", "s3://deno.land/" + "--exclude=package/*", "--exclude=release/*", ".", "s3://deno.land/" ]) |
