show file sizes of built CLI binaries in task script

This commit is contained in:
Ryan Richard
2025-01-22 16:21:18 -08:00
parent a4113243d9
commit a4d091c857

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Copyright 2020-2024 the Pinniped contributors. All Rights Reserved.
# Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
@@ -58,6 +58,9 @@ done
popd >/dev/null
# Show the file sizes of the CLI binaries.
ls -lh cli-binaries
linux_cli="cli-binaries/pinniped-cli-linux-amd64"
chmod 755 "$linux_cli"
echo "checking to see if 'pinniped version' has an '--output' flag"