git - Updating a Rails Engine Version Number -
in rails engine when should version number in lib/myengine/version.rb updated?
should updated before every git push?
if so, can/should version number updated automation, rather changing number in file every time?
that version number represents version of gem. so, if publish new release of engine (using either gem publish
or bundler's rake release
), need update version.rb
.
this doesn't have git
, can git push
without updating version.rb
.
though maintaining version number gem not required, convention follow semantic versioning patterns: http://guides.rubygems.org/patterns/#semantic-versioning
Comments
Post a Comment