Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support arbitrary alphanumeric strings as prerelease identifiers #44062

Merged
merged 1 commit into from
May 1, 2017

Conversation

ixdy
Copy link
Member

@ixdy ixdy commented Apr 4, 2017

What this PR does / why we need it: this is basically an extension of #43642, but supports more general prerelease identifiers, per the spec at http://semver.org/#spec-item-9.

These regular expressions are still a bit more restrictive than the SemVer spec allows (we disallow hyphens, and we require the format -foo.N instead of arbitrary -foo.X.bar.Y.bazZ), but this should support our needs without changing too much more logic or breaking other assumptions.

Release note:

NONE

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 4, 2017
@k8s-github-robot k8s-github-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. release-note-none Denotes a PR that doesn't merit a release note. labels Apr 4, 2017
@k8s-reviewable
Copy link

This change is Reviewable

@ixdy
Copy link
Member Author

ixdy commented Apr 5, 2017

@k8s-bot gce etcd3 e2e test this

@cjcullen
Copy link
Member

cjcullen commented Apr 6, 2017

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 6, 2017
@ixdy
Copy link
Member Author

ixdy commented May 1, 2017

ping?

@zmerlynn
Copy link
Member

zmerlynn commented May 1, 2017

/lgtm

@zmerlynn
Copy link
Member

zmerlynn commented May 1, 2017

/approve

@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cjcullen, ixdy, zmerlynn

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 1, 2017
@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 03c9c48 into kubernetes:master May 1, 2017
@ixdy ixdy deleted the semver-regexes branch May 15, 2018 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants