Merge pull request #2458 from monopole/updateBuildScripts

Update build scripts
This commit is contained in:
Jeff Regan
2020-05-11 09:42:46 -07:00
committed by GitHub
3 changed files with 9 additions and 3 deletions

View File

@@ -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 <<EOF >$configFile
project_name: $module
@@ -73,7 +80,6 @@ builds:
goos:
- linux
- darwin
- windows
goarch:
- amd64
archives:

View File

@@ -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']

View File

@@ -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']