NickPresta

Activity Graph

Page 1 of 1

2019-03-29

[17:38:28] NickPresta: has joined #ruby
[17:43:11] NickPresta: Hi. I'm trying to publish a ruby gem with a pre-release version but it seems that running `gem build my.gemspec` results in some sort of transformation happening to my version number. Here's an example of the version, the gemspec, and running `gem build`: https://gist.github.com/nickpresta/fdf77d3f7ada3b9ec5765177d1affdc6. Any explanation would be appreciated. Thanks.
[17:48:31] NickPresta: I'm reading the RubyGems site: https://guides.rubygems.org/releasing-rubygems/ and the docs claim that gems adhere to semver restrictions, which should mean that something like `1.0.0-beta+exp.sha.5114f85` is a valid version number, but `gem build` throws an error with `Malformed version number string` so I'm not sure where to look to find how I can name beta/pre-release versions correctly.
[18:22:19] NickPresta: Ping timeout: 256 seconds