From 0f1de95b82da55c9a0f237396ccedcd86abb757c Mon Sep 17 00:00:00 2001 From: qmuntal Date: Wed, 23 Oct 2024 11:07:23 +0200 Subject: [PATCH 1/2] update eng/run.ps1 documentation --- eng/README.md | 4 +++- eng/_util/cmd/build/build.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/eng/README.md b/eng/README.md index b9982ebc896..93498669919 100644 --- a/eng/README.md +++ b/eng/README.md @@ -33,7 +33,9 @@ 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 an archive file containing the Go sources in `eng/artifacts/bin`. (A `.tar.gz` or `.zip` file, depending on GOOS) 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() { From 6176ea40c20f1a68ac1d95dcbc51b971fc4a9e78 Mon Sep 17 00:00:00 2001 From: Martijn Verburg Date: Thu, 24 Oct 2024 07:48:23 +1300 Subject: [PATCH 2/2] Update eng/README.md Co-authored-by: Davis Goodin --- eng/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/README.md b/eng/README.md index 93498669919..d127a437b4e 100644 --- a/eng/README.md +++ b/eng/README.md @@ -35,8 +35,8 @@ pwsh eng/run.ps1 build -refresh * Add `-test` to run tests after the build completes. * 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 an archive file containing the Go sources 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: