kubernetes/hack/lib
Kubernetes Submit Queue 1aa2a027ed
Merge pull request #57445 from chenzhiwei/version-check
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Build Kubernetes binaries with valid Semantic Version

**What this PR does / why we need it**:

Refuse to build Kubernetes when a version string like `v1.8.3+xx+xx`.

This PR is to restrict the `KUBE_GIT_VERSION`, if the version string does match the rule of Semantic Version, then refuse to build.

Since Kubernetes Conformance test needs the `KUBE_GIT_VERSION` to be a valid Semantic Version, so I think it's better to restrict the version string.

**Release note**:
```release-note
NONE
```
2018-02-13 21:07:02 -08:00
..
.gitattributes Capture git export-subst strings in version.sh for 'git archive' use. 2017-11-09 16:36:27 -08:00
BUILD cluster: move logging library to hack/ 2018-01-13 16:37:50 -08:00
etcd.sh Check etcd port instead of process name 2018-02-10 12:28:21 -05:00
golang.sh Increase KUBE_PARALLEL_BUILD_MEMORY to 40G. 2018-01-24 13:15:33 -08:00
init.sh cluster: move logging library to hack/ 2018-01-13 16:37:50 -08:00
logging.sh cluster: move logging library to hack/ 2018-01-13 16:37:50 -08:00
protoc.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
swagger.sh Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
test.sh Avoid error on closed pipe 2018-01-03 16:44:50 -05:00
util.sh Promote v1alpha1 meta to v1beta1 2018-02-02 14:00:45 -05:00
version.sh Build Kubernetes binaries with valid Semantic Version 2018-01-31 12:59:52 +08:00