From 70b1cfef4a08c4796aac3761d309c0ac1448e4e2 Mon Sep 17 00:00:00 2001 From: Jeffrey Regan Date: Mon, 11 May 2020 09:40:54 -0700 Subject: [PATCH] Update build scripts --- releasing/cloudbuild.sh | 8 +++++++- releasing/cloudbuild_api.yaml | 2 +- releasing/cloudbuild_kustomize.yaml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/releasing/cloudbuild.sh b/releasing/cloudbuild.sh index 1fc28aa49..b8eef1845 100755 --- a/releasing/cloudbuild.sh +++ b/releasing/cloudbuild.sh @@ -42,6 +42,13 @@ setSemVer cd $module +# 2020/May/11 Windows build temporaraily removed +# ("- windows" removed from the goos: list below) +# because of https://github.com/microsoft/go-winio/issues/161 +# Seeing the following in builds: +# : /go/pkg/mod/golang.org/x/crypto@v0.0.0-20190923035154-9ee001bba392/ssh/terminal/util_windows.go:97:61: +# multiple-value "golang.org/x/sys/windows".GetCurrentProcess() in single-value context + configFile=$(mktemp) cat <$configFile project_name: $module @@ -73,7 +80,6 @@ builds: goos: - linux - darwin - - windows goarch: - amd64 archives: diff --git a/releasing/cloudbuild_api.yaml b/releasing/cloudbuild_api.yaml index f5dde5d80..167228910 100644 --- a/releasing/cloudbuild_api.yaml +++ b/releasing/cloudbuild_api.yaml @@ -1,7 +1,7 @@ steps: - name: "gcr.io/cloud-builders/git" args: [fetch, --tags, --depth=100] -- name: "goreleaser/goreleaser:v0.120.3" +- name: "goreleaser/goreleaser:v0.134.0" entrypoint: /bin/sh args: ["releasing/cloudbuild.sh", "api"] secretEnv: ['GITHUB_TOKEN'] diff --git a/releasing/cloudbuild_kustomize.yaml b/releasing/cloudbuild_kustomize.yaml index 55dd664ac..cf89b2acf 100644 --- a/releasing/cloudbuild_kustomize.yaml +++ b/releasing/cloudbuild_kustomize.yaml @@ -1,7 +1,7 @@ steps: - name: "gcr.io/cloud-builders/git" args: [fetch, --tags, --depth=100] -- name: "goreleaser/goreleaser:v0.120.3" +- name: "goreleaser/goreleaser:v0.134.0" entrypoint: /bin/sh args: ["releasing/cloudbuild.sh", "kustomize"] secretEnv: ['GITHUB_TOKEN']