mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-03 20:40:26 -05:00
Automatic merge from submit-queue (batch tested with PRs 58375, 58306, 58386, 57420, 58035). 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>. add semver metadata regex **What this PR does / why we need it**: When building a release tag with optional semver metadata, the minor and major versions are not parsed correctly (empty strings). This fix adds optional support to the regex for the metadata component. example: ``` ~/w/g/s/k/kubernetes ❯❯❯ git tag v1.9.0+stable.0 fixes/semver_metadata ✭ ~/w/g/s/k/kubernetes ❯❯❯ hack/print-workspace-status.sh fixes/semver_metadata ✭ STABLE_BUILD_GIT_COMMIT |
||
|---|---|---|
| .. | ||
| .gitattributes | ||
| BUILD | ||
| etcd.sh | ||
| golang.sh | ||
| init.sh | ||
| logging.sh | ||
| protoc.sh | ||
| swagger.sh | ||
| test.sh | ||
| util.sh | ||
| version.sh | ||