diff --git a/eng/README.md b/eng/README.md index b9982ebc896..d127a437b4e 100644 --- a/eng/README.md +++ b/eng/README.md @@ -33,8 +33,10 @@ pwsh eng/run.ps1 build -refresh patches) before the command builds the repository. Remove `-refresh` if you've made changes in the submodule (`go`) that you want to keep. * Add `-test` to run tests after the build completes. -* Add `-pack` to create an archive file containing the Go build in +* Add `-packbuild` to create an archive file containing the Go build in `eng/artifacts/bin`. (A `.tar.gz` or `.zip` file, depending on GOOS) +* Add `-packsource` to create a `.tar.gz` file containing the Go sources in + `eng/artifacts/bin`. Run this command for more information: diff --git a/eng/_util/cmd/build/build.go b/eng/_util/cmd/build/build.go index 7af05339872..03d39428e6a 100644 --- a/eng/_util/cmd/build/build.go +++ b/eng/_util/cmd/build/build.go @@ -33,7 +33,7 @@ in 'src' such as 'src/run.bash' instead of this script. Example: Build Go, run tests, and produce an archive file: - eng/run.ps1 build -test -pack + eng/run.ps1 build -test -packbuild ` func main() {