diff options
author | Ryan Prichard <rprichard@google.com> | 2021-11-15 18:43:27 -0800 |
---|---|---|
committer | Ryan Prichard <rprichard@google.com> | 2021-11-15 18:46:10 -0800 |
commit | d0c37861b5c162f48342924f5af2881f9c6f919b (patch) | |
tree | 18123e4748256ff0bb6e815a3da04743509a634e | |
parent | 6f2186add9a49d51c539fd80f054908e15aadf7a (diff) | |
download | ninja-d0c37861b5c162f48342924f5af2881f9c6f919b.tar.gz |
Add the host name to the ninja zip artifact
This makes the ninja artifacts more consistent with the python3 and
cmake artifacts.
Bug: none
Test: external/ninja/kokoro/kokoro_build.sh
Change-Id: Id1e901cc61d0333458fe5c227ea695544d487ec9
-rwxr-xr-x | kokoro/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kokoro/build.py b/kokoro/build.py index b61896e..4fef9e1 100755 --- a/kokoro/build.py +++ b/kokoro/build.py @@ -134,7 +134,7 @@ def main() -> None: shutil.copy2(NINJA_SRC / 'COPYING', out / 'install') build_id = os.getenv('KOKORO_BUILD_ID', 'dev') - zip_dir(out / 'install', out / f'artifact/ninja-{build_id}.zip') + zip_dir(out / 'install', out / f'artifact/ninja-{host.value}-{build_id}.zip') run_cmd([sys.executable, TOP / 'toolchain/ndk-kokoro/gen_manifest.py', '--root', TOP, '-o', out / f'artifact/manifest-{build_id}.xml']) |