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

Already on GitHub? Sign in to your account

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

blakewatters opened this Issue Oct 7, 2012 · 1 comment


None yet
1 participant

blakewatters commented Oct 7, 2012

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 added a commit to blakewatters/CocoaPods that referenced this issue Oct 7, 2012

@blakewatters blakewatters Update Version class to support matching pre-release versions conform…
…ing to the Semantic Versioning specification. fixes #583

blakewatters commented Feb 10, 2013

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