From bb02a7645bb49c5e6fe7af55b896de61146040e6 Mon Sep 17 00:00:00 2001 From: monopole Date: Wed, 30 Jun 2021 15:36:57 -0700 Subject: [PATCH] Temporarily remove windows build. --- releasing/cloudbuild.sh | 3 --- releasing/localbuild.sh | 7 ++++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/releasing/cloudbuild.sh b/releasing/cloudbuild.sh index d6470b4a9..a8590d39d 100755 --- a/releasing/cloudbuild.sh +++ b/releasing/cloudbuild.sh @@ -83,8 +83,6 @@ archives: builds: - skip: $skipBuild - gobinary: "go1.16.5" - ldflags: > -s -X sigs.k8s.io/kustomize/api/provenance.version={{.Version}} @@ -94,7 +92,6 @@ builds: goos: - linux - darwin - - windows goarch: - amd64 diff --git a/releasing/localbuild.sh b/releasing/localbuild.sh index 627288306..5a61c246c 100755 --- a/releasing/localbuild.sh +++ b/releasing/localbuild.sh @@ -29,14 +29,17 @@ cp releasing/cloudbuild.yaml $config # in the kustomize/dist directory. sed -i "s|# - '--snapshot|- '--snapshot|" $config -echo "Executing cloud-build-local with:" +echo "Executing cloud-build-local with config file $config :" echo "=========================" cat $config echo "=========================" +workspace=~/cloud-build-local-workspace + cloud-build-local \ --config=$config \ --substitutions=TAG_NAME=$1 \ + --write-workspace=$workspace \ --dryrun=false \ . @@ -47,3 +50,5 @@ echo "Result of local build:" echo "##########################################" tree ./$module/dist echo "##########################################" +tree ./$workspace +echo "##########################################"