Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Pre-release Versions Do Not Conform to Semantic Versioning Spec #583

Closed
blakewatters opened this Issue · 1 comment

1 participant

@blakewatters

I just pushed a version of the RestKit Podspec with the version 0.20-dev. On testing the installation, version.rb blew up at me complaining that the version string is malformed. I checked the Podspec format document @ https://github.com/CocoaPods/CocoaPods/wiki/The-podspec-format, which says that the version attribute reference should consult Semver.

Looking at the Semantic Version docs @ http://semver.org/ it says this about pre-release versions:

A pre-release version MAY be denoted by appending a dash and a series of dot separated identifiers immediately following the patch version. Identifiers MUST be comprised of only ASCII alphanumerics and dash [0-9A-Za-z-]. Pre-release versions satisfy but have a lower precedence than the associated normal version. Examples: 1.0.0-alpha, 1.0.0-alpha.1, 1.0.0-0.3.7, 1.0.0-x.7.z.92.

The version enforcement should be updated to match the specification. Pull request forthcoming...

@blakewatters blakewatters referenced this issue from a commit in blakewatters/CocoaPods
@blakewatters blakewatters Update Version class to support matching pre-release versions conform…
…ing to the Semantic Versioning specification. fixes #583
cb7e907
@blakewatters

Closing this issue and migrating to CocoaPods/Core#4 under the recommendation of @irrationalfab on #584.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.