mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
f3e1170a89
This adds a log with the size of the generated binaries/packages/etc in the end of the build process, and also adds it to the artifacts.json closes #3949 TODO: - [x] tests - [x] docs - [ ] ?? --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
522 B
522 B
Report Sizes
Since v1.18
You might want to enable this if you want to keep an eye on your binary/package sizes.
It'll report the size of each artifact of the following types to the build
output, as well as on dist/artifacts.json
:
Binary,
UniversalBinary,
UploadableArchive,
PublishableSnapcraft,
LinuxPackage,
CArchive,
CShared,
Header,
Here's the available configuration options:
# .goreleaser.yaml
# Whether to enable the size reporting or not.
report_sizes: true