diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 0b1bbbf..3c29c4d 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -225,10 +225,18 @@ dist/windows/gosentry--windows-amd64.exe The `package-*` scripts build the binary for their platform and wrap it in a distributable archive together with `README.md` and `CHANGELOG.md`: +Windows: + ```powershell scripts\package-windows.bat ``` +```text +dist\windows\gosentry--windows-amd64.zip +``` + +Linux: + ```bash ./scripts/package-linux.sh ``` @@ -236,9 +244,11 @@ scripts\package-windows.bat ```text dist/linux/gosentry--linux-amd64.tar.gz dist/linux/gosentry--linux-arm64.tar.gz -dist\windows\gosentry--windows-amd64.zip ``` +The arm64 archive is produced only when the `aarch64-linux-gnu-gcc` cross +compiler is available; otherwise that target is skipped with a message. + The version stamped into the file names and into the binary comes from `src/app/version.go`.