Merge pull request #1969 from pwittrock/release-scripts

Add release scripts for modules and binaries
This commit is contained in:
Kubernetes Prow Robot
2019-12-16 13:35:38 -08:00
committed by GitHub
6 changed files with 216 additions and 0 deletions

12
cmd/config/fixgomod.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
set -e
: "${kyaml_major?Need to source VERSIONS}"
: "${kyaml_minor?Need to source VERSIONS}"
: "${kyaml_patch?Need to source VERSIONS}"
go mod edit -dropreplace=sigs.k8s.io/kustomize/kyaml@v0.0.0
go mod edit -require=sigs.k8s.io/kustomize/kyaml@v$kyaml_major.$kyaml_minor.$kyaml_patch