Skip to content

Commit

Permalink
Remove timestamp from non-release versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma committed Jul 5, 2012
1 parent e2c16d4 commit 7e76eb3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions History.rdoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
=== 0.4.5 / 2012-??-??

* The gemspec no longer includes the timestamp in the version, so that bundler can pull from github. (Reported by corneverbruggen)

=== 0.4.4 / 2012-06-27

* Tried to be a little more robust against incomplete psych installations.
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RAKEFILE_CONFIG = {} unless defined?(::RAKEFILE_CONFIG)
require 'rubygems'
gemspec_ = eval(::File.read(::Dir.glob('*.gemspec').first))
release_gemspec_ = eval(::File.read(::Dir.glob('*.gemspec').first))
release_gemspec_.version = gemspec_.version.to_s.sub(/\.build\d+$/, '')
release_gemspec_.version = gemspec_.version.to_s.sub(/\.nonrelease$/, '')


# Platform info
Expand Down
2 changes: 1 addition & 1 deletion Version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.4
0.4.5
2 changes: 1 addition & 1 deletion versionomy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
s_.name = 'versionomy'
s_.summary = 'Versionomy is a generalized version number library.'
s_.description = 'Versionomy is a generalized version number library. It provides tools to represent, manipulate, parse, and compare version numbers in the wide variety of versioning schemes in use.'
s_.version = "#{::File.read('Version').strip}.build#{::Time.now.utc.strftime('%Y%m%d%H%M%S')}"
s_.version = "#{::File.read('Version').strip}.nonrelease"
s_.author = 'Daniel Azuma'
s_.email = 'dazuma@gmail.com'
s_.homepage = 'http://dazuma.github.com/versionomy'
Expand Down

0 comments on commit 7e76eb3

Please sign in to comment.