Compare commits

...

4 Commits

Author SHA1 Message Date
Jeff Regan
d53a2ad45d Merge pull request #4027 from monopole/deleteWindowsBuild
Temporarily remove windows build.
2021-06-30 15:37:56 -07:00
monopole
bb02a7645b Temporarily remove windows build. 2021-06-30 15:36:57 -07:00
Jeff Regan
5a9d90c872 Merge pull request #4026 from monopole/upgradeGoReleaser
release process: upgrade to goreleaser v0.172.1 calling go1.16.5
2021-06-30 14:04:18 -07:00
monopole
4fd7269643 release process: upgrade to goreleaser v0.172.1 calling go go1.16.5 2021-06-30 14:02:55 -07:00
3 changed files with 12 additions and 7 deletions

View File

@@ -72,8 +72,9 @@ if [[ "$module" == "kustomize" || "$module" == "pluginator" ]]; then
skipBuild=false
fi
configFile=$(mktemp)
cat <<EOF >$configFile
goReleaserConfigFile=$(mktemp)
cat <<EOF >$goReleaserConfigFile
project_name: $module
archives:
@@ -91,7 +92,6 @@ builds:
goos:
- linux
- darwin
- windows
goarch:
- amd64
@@ -112,14 +112,14 @@ release:
EOF
cat $configFile
cat $goReleaserConfigFile
date
time /usr/local/bin/goreleaser release \
--timeout 10m \
--parallelism 4 \
--config=$configFile \
--config=$goReleaserConfigFile \
--release-notes=$changeLogFile \
--rm-dist \
--skip-validate $remainingArgs

View File

@@ -36,7 +36,7 @@ steps:
# Run goreleaser indirectly via a shell script
# to configure it properly.
- name: goreleaser/goreleaser:v0.155.0
- name: goreleaser/goreleaser:v0.172.1
timeout: 12m
entrypoint: /bin/sh
dir: myClone

View File

@@ -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 "##########################################"