mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 10:30:59 +00:00
Update build scripts
This commit is contained in:
@@ -42,6 +42,13 @@ setSemVer
|
|||||||
|
|
||||||
cd $module
|
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)
|
configFile=$(mktemp)
|
||||||
cat <<EOF >$configFile
|
cat <<EOF >$configFile
|
||||||
project_name: $module
|
project_name: $module
|
||||||
@@ -73,7 +80,6 @@ builds:
|
|||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- darwin
|
- darwin
|
||||||
- windows
|
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
archives:
|
archives:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
steps:
|
steps:
|
||||||
- name: "gcr.io/cloud-builders/git"
|
- name: "gcr.io/cloud-builders/git"
|
||||||
args: [fetch, --tags, --depth=100]
|
args: [fetch, --tags, --depth=100]
|
||||||
- name: "goreleaser/goreleaser:v0.120.3"
|
- name: "goreleaser/goreleaser:v0.134.0"
|
||||||
entrypoint: /bin/sh
|
entrypoint: /bin/sh
|
||||||
args: ["releasing/cloudbuild.sh", "api"]
|
args: ["releasing/cloudbuild.sh", "api"]
|
||||||
secretEnv: ['GITHUB_TOKEN']
|
secretEnv: ['GITHUB_TOKEN']
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
steps:
|
steps:
|
||||||
- name: "gcr.io/cloud-builders/git"
|
- name: "gcr.io/cloud-builders/git"
|
||||||
args: [fetch, --tags, --depth=100]
|
args: [fetch, --tags, --depth=100]
|
||||||
- name: "goreleaser/goreleaser:v0.120.3"
|
- name: "goreleaser/goreleaser:v0.134.0"
|
||||||
entrypoint: /bin/sh
|
entrypoint: /bin/sh
|
||||||
args: ["releasing/cloudbuild.sh", "kustomize"]
|
args: ["releasing/cloudbuild.sh", "kustomize"]
|
||||||
secretEnv: ['GITHUB_TOKEN']
|
secretEnv: ['GITHUB_TOKEN']
|
||||||
|
|||||||
Reference in New Issue
Block a user