feat: use human readable sizes in the output of `ls`

This commit is contained in:
surtur 2020-06-22 22:50:25 +02:00
parent 608764775d
commit 46389a3839
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -1182,7 +1182,7 @@ steps:
- apk add --no-cache tar curl zstd gnupg
- mkdir -pv archives
- ( cd /run/cache; tar cfv /drone/src/archives/results-${DRONE_COMMIT_SHA:0:7}.tar.zstd results-${DRONE_COMMIT_SHA} --zstd )
- ls -la archives/results-${DRONE_COMMIT_SHA:0:7}.tar.zstd
- ls -lah archives/results-${DRONE_COMMIT_SHA:0:7}.tar.zstd
- curl -sS https://dotya.ml/store/0x28bd2388.asc | gpg --quiet --import -
- gpg -eR 28bd2388 --trust-model always archives/results-${DRONE_COMMIT_SHA:0:7}.tar.zstd
- ( cd archives; sha512sum results-${DRONE_COMMIT_SHA:0:7}.tar.zstd.gpg > results-${DRONE_COMMIT_SHA:0:7}.tar.zstd.gpg-SHA512SUM )