Skip to content

Commit

Permalink
Merge pull request #4027 from monopole/deleteWindowsBuild
Browse files Browse the repository at this point in the history
Temporarily remove windows build.
  • Loading branch information
monopole authored Jun 30, 2021
2 parents 5a9d90c + bb02a76 commit d53a2ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 0 additions & 3 deletions releasing/cloudbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ archives:
builds:
- skip: $skipBuild
gobinary: "go1.16.5"
ldflags: >
-s
-X sigs.k8s.io/kustomize/api/provenance.version={{.Version}}
Expand All @@ -94,7 +92,6 @@ builds:
goos:
- linux
- darwin
- windows
goarch:
- amd64
Expand Down
7 changes: 6 additions & 1 deletion releasing/localbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
.

Expand All @@ -47,3 +50,5 @@ echo "Result of local build:"
echo "##########################################"
tree ./$module/dist
echo "##########################################"
tree ./$workspace
echo "##########################################"

0 comments on commit d53a2ad

Please sign in to comment.