diff --git a/releasing/cloudbuild.sh b/releasing/cloudbuild.sh index d6470b4a9a..a8590d39dd 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 6272883064..5a61c246cf 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 "##########################################"